]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
oops, forgot to fix the Qread and Qwrite calls
authortaniwha <taniwha@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 30 May 2001 05:10:29 +0000 (05:10 +0000)
committertaniwha <taniwha@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 30 May 2001 05:10:29 +0000 (05:10 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@218 d7cf8633-e32d-0410-b094-e92efae38249

sys_win.c

index 8353408b5a7b8e9d43a81562f6ba676d6d99295d..be6021c78a1f94401bcbde8222eebff9396ec5f8 100644 (file)
--- 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)
 {
 
 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)
 {
 }
 
 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)
 }
 
 int    Sys_FileTime (char *path)