From b8a8bf51187952cccb4af5c751546ff4a1c755dc Mon Sep 17 00:00:00 2001 From: taniwha Date: Wed, 30 May 2001 05:10:29 +0000 Subject: [PATCH] oops, forgot to fix the Qread and Qwrite calls git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@218 d7cf8633-e32d-0410-b094-e92efae38249 --- sys_win.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys_win.c b/sys_win.c index 8353408b..be6021c7 100644 --- a/sys_win.c +++ b/sys_win.c @@ -171,12 +171,12 @@ void Sys_FileSeek (int handle, int position) int Sys_FileRead (int handle, void *dest, int count) { - return Qread (dest, 1, count, sys_handles[handle]); + return Qread (sys_handles[handle], dest, count); } int Sys_FileWrite (int handle, void *data, int count) { - return Qwrite (data, 1, count, sys_handles[handle]); + return Qwrite (sys_handles[handle], data, count); } int Sys_FileTime (char *path) -- 2.39.2