Fixed GetFileTitle32A not filling up lpTitle if lpFile didn't
contain '/','\\' or ':'.
This commit is contained in:
parent
330612ea5c
commit
298ea099cd
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue