Commit b3c369d1 authored by Alexander Nicolaysen Sørnes's avatar Alexander Nicolaysen Sørnes Committed by Alexandre Julliard

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

parent 063a6777
......@@ -330,8 +330,8 @@ static void DialogOpenFile(void)
if(GetOpenFileNameW(&ofn))
{
prompt_save_changes();
DoOpenFile(ofn.lpstrFile);
if(prompt_save_changes())
DoOpenFile(ofn.lpstrFile);
}
}
......
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