| changeset 3261 | e4359292e59a |
| parent 3104 | b15fb3b476f1 |
| child 3401 | 98f3a34c1396 |
1.1 --- a/core/sourcemod.cpp Sun Apr 17 16:12:45 2011 -0400 1.2 +++ b/core/sourcemod.cpp Sat Apr 23 21:53:53 2011 -0500 1.3 @@ -142,7 +142,7 @@ 1.4 1.5 /* Store name of game directory by itself */ 1.6 size_t len = strlen(gamepath); 1.7 - for (size_t i = len - 1; i >= 0; i--) 1.8 + for (size_t i = len - 1; i < len; i--) 1.9 { 1.10 if (gamepath[i] == PLATFORM_SEP_CHAR) 1.11 {