Bugfix: get_sobasename was off by one pointer increment.
This commit is contained in:
parent
9173f04ba9
commit
6e709a1ed0
|
@ -119,9 +119,7 @@ static LPSTR get_sobasename(LPCSTR path, LPSTR name)
|
|||
{
|
||||
char *cp = strrchr(cptr+1, '\\');
|
||||
if(cp && cp > cptr)
|
||||
cptr = cp+1;
|
||||
else
|
||||
cptr++;
|
||||
cptr = cp;
|
||||
}
|
||||
else
|
||||
cptr = strrchr(path, '\\');
|
||||
|
|
Loading…
Reference in New Issue