wordpad: Don't display full path in save changes dialog.

This commit is contained in:
Alexander Nicolaysen Sørnes 2007-08-22 22:52:19 +02:00 committed by Alexandre Julliard
parent 219c47338a
commit d13541f86c
1 changed files with 1 additions and 1 deletions

View File

@ -661,7 +661,7 @@ static BOOL prompt_save_changes(void)
if(!wszFileName[0])
displayFileName = wszDefaultFileName;
else
displayFileName = wszFileName;
displayFileName = file_basename(wszFileName);
text = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY,
(lstrlenW(displayFileName)+lstrlenW(wszSaveChanges))*sizeof(WCHAR));