sourcepawn/compiler/sc1.c
changeset 3261 e4359292e59a
parent 3075 a86a7061c44c
child 3336 f15aa1370640
     1.1 --- a/sourcepawn/compiler/sc1.c	Sun Apr 17 16:12:45 2011 -0400
     1.2 +++ b/sourcepawn/compiler/sc1.c	Sat Apr 23 21:53:53 2011 -0500
     1.3 @@ -579,7 +579,7 @@
     1.4  
     1.5    binptr = NULL;
     1.6    len = strlen(binfname);
     1.7 -  for (i = len - 1; i >= 0 && i < len; i--)
     1.8 +  for (i = len - 1; i < len; i--)
     1.9    {
    1.10      if (binfname[i] == '/'
    1.11  #if defined WIN32 || defined _WIN32