fixed small typo

This commit is contained in:
David Anderson 2006-05-07 17:27:24 +00:00
parent 0a4a209f94
commit 9b9f0d0e27

View File

@ -801,7 +801,7 @@ bool ConvertModuleName(const char *pathString, String &path)
if (!foundAmxx) if (!foundAmxx)
{ {
ptr = tmpname + strlen(tmpname); - 1; ptr = tmpname + strlen(tmpname) - 1;
while (ptr >= tmpname && *ptr != '.') while (ptr >= tmpname && *ptr != '.')
ptr--; ptr--;
if (ptr > tmpname && *ptr == '.') if (ptr > tmpname && *ptr == '.')