platform/win32.c
changeset 448 11fb9dcda01d
parent 427 c38ace41039f
child 467 99664d9842cb
--- a/platform/win32.c	Wed Jul 31 04:20:18 2002 +0000
+++ b/platform/win32.c	Thu Aug 01 20:22:27 2002 +0000
@@ -125,7 +125,7 @@
 
             /* make sure the string was not truncated. */
         if (__PHYSFS_platformStricmp(&retval[buflen - 4], ".exe") != 0)
-            __PHYSFS_setError(ERR_GOTMODFN_TRUNC);
+            __PHYSFS_setError(ERR_GETMODFN_TRUNC);
         else
         {
             ptr = strrchr(retval, '\\');