wordpad: Fix save changes prompt for the open file dialogue.

This commit is contained in:
Alexander Nicolaysen Sørnes 2007-07-20 00:04:09 +02:00 committed by Alexandre Julliard
parent 063a6777c2
commit b3c369d1cc
1 changed files with 2 additions and 2 deletions

View File

@ -330,8 +330,8 @@ static void DialogOpenFile(void)
if(GetOpenFileNameW(&ofn))
{
prompt_save_changes();
DoOpenFile(ofn.lpstrFile);
if(prompt_save_changes())
DoOpenFile(ofn.lpstrFile);
}
}