Fix stupid wadfile problem
authortheoddone33 <theoddone33@c79c8604-0f32-0410-912e-ea7021435596>
Mon, 10 Feb 2003 03:31:12 +0000 (03:31 +0000)
committertheoddone33 <theoddone33@c79c8604-0f32-0410-912e-ea7021435596>
Mon, 10 Feb 2003 03:31:12 +0000 (03:31 +0000)
git-svn-id: svn://svn.icculus.org/hhexen/trunk@16 c79c8604-0f32-0410-912e-ea7021435596

base/w_wad.c

index b681b5a..d8ac037 100644 (file)
@@ -84,7 +84,10 @@ boolean AuxiliaryOpened = false;
 void strupr(char *s)
 {
     while(*s)
-       *s++ = toupper(*s);
+    {
+       *s = toupper(*s);
+       s++;
+    }
 }
 
 //==========================================================================