Fixed GetFileTitle32A not filling up lpTitle if lpFile didn't

contain '/','\\' or ':'.
This commit is contained in:
Uwe Bonnes 1998-12-10 09:52:23 +00:00 committed by Alexandre Julliard
parent 330612ea5c
commit 298ea099cd
1 changed files with 2 additions and 0 deletions

View File

@ -1589,6 +1589,8 @@ short WINAPI GetFileTitle32A(LPCSTR lpFile, LPSTR lpTitle, UINT32 cbBuf)
i++;
break;
}
if (i == -1)
i++;
TRACE(commdlg,"---> '%s' \n", &lpFile[i]);
len = strlen(lpFile+i)+1;