mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-05 14:30:21 +00:00
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 a new issue