From 6d33ebc44a5ee50275eea8552938e92302ed9ae2 Mon Sep 17 00:00:00 2001 From: theoddone33 Date: Mon, 10 Feb 2003 03:32:09 +0000 Subject: [PATCH] Fix stupid wadfile problem git-svn-id: svn://svn.icculus.org/hheretic/trunk@6 eb238505-0f32-0410-b369-e4014cc52c4b --- base/w_wad.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/base/w_wad.c b/base/w_wad.c index 7e7e0de..7dff5c8 100644 --- a/base/w_wad.c +++ b/base/w_wad.c @@ -58,7 +58,10 @@ void **lumpcache; void strupr (char *s) { while (*s) - *s++ = toupper(*s); + { + *s = toupper(*s); + s++; + } } /* -- 2.39.2