fixed small typo
This commit is contained in:
parent
0a4a209f94
commit
9b9f0d0e27
|
@ -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 == '.')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user