Commit 298ea099 authored by Uwe Bonnes's avatar Uwe Bonnes Committed by Alexandre Julliard

Fixed GetFileTitle32A not filling up lpTitle if lpFile didn't

contain '/','\\' or ':'.
parent 330612ea
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment