From: taniwha Date: Wed, 30 May 2001 05:10:29 +0000 (+0000) Subject: oops, forgot to fix the Qread and Qwrite calls X-Git-Tag: RELEASE_0_2_0_RC1~811 X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=commitdiff_plain;h=b8a8bf51187952cccb4af5c751546ff4a1c755dc 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 --- 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)