(svn r16222) -Fix: unneeded pointer dereferencing

This commit is contained in:
rubidium 2009-05-03 21:56:46 +00:00
parent 5f4eeee5f0
commit 21f5f602f9
1 changed files with 1 additions and 1 deletions

View File

@ -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