diff options
author | 2014-02-24 03:25:05 +0000 | |
---|---|---|
committer | 2014-02-24 03:25:05 +0000 | |
commit | 172056e7598d3447c682a694d824041076f3255e (patch) | |
tree | 3ba150866d6bbcc337932e3fc59a3af9715d0d85 /hge/resource.cpp | |
parent | 8cb1a0f4fcf8e7ecd54134e8d6f431b613c69091 (diff) | |
download | bullet-lab-remix-172056e7598d3447c682a694d824041076f3255e.tar.xz |
M trunk/CHANGELOG.TXT
M trunk/background.h
M trunk/effects.h
M trunk/global.h
M trunk/hge/CxImage/ximagif.cpp
M trunk/hge/CxImage/ximaint.cpp
M trunk/hge/CxImage/ximapng.cpp
M trunk/hge/graphics.cpp
M trunk/hge/input.cpp
M trunk/hge/resource.cpp
M trunk/hge/sound.cpp
M trunk/hge/system.cpp
M trunk/hgehelp/hgefont.cpp
M trunk/levels.h
M trunk/libcgh.h
M trunk/libcghEx.cpp
M trunk/menuitem.cpp
M trunk/menuitem.h
M trunk/menus.h
M trunk/music.h
M trunk/scorec.h
M trunk/scoresystem.h
M trunk/towernbullet.h
Diffstat (limited to 'hge/resource.cpp')
-rw-r--r-- | hge/resource.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hge/resource.cpp b/hge/resource.cpp index 0fb7051..4937ee1 100644 --- a/hge/resource.cpp +++ b/hge/resource.cpp @@ -245,9 +245,8 @@ static int locateOneElement(char *buf) static int locateCorrectCase(char *buf) { char *ptr = buf; - char *prevptr = buf; - while (ptr = strchr(ptr + 1, '/')) + while ((ptr = strchr(ptr + 1, '/'))) { *ptr = '\0'; /* block this path section off */ if (!locateOneElement(buf)) |