From 21f5f602f9487c248d545487f40a539a35e698e9 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 3 May 2009 21:56:46 +0000 Subject: (svn r16222) -Fix: unneeded pointer dereferencing --- src/script/squirrel_std.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/script/squirrel_std.cpp b/src/script/squirrel_std.cpp index 2e705a35f..6b18cc9ff 100644 --- a/src/script/squirrel_std.cpp +++ b/src/script/squirrel_std.cpp @@ -60,7 +60,7 @@ SQInteger SquirrelStd::require(HSQUIRRELVM vm) SQChar *s = scstrrchr(real_filename, PATHSEPCHAR); if (s != NULL) { /* Keep the PATHSEPCHAR there, remove the rest */ - *s++; + s++; *s = '\0'; } /* And now we concat, so we are relative from the current script -- cgit v1.2.3-70-g09d2