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

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);
}
}