mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
wordpad: Fix save changes prompt for the open file dialogue.
This commit is contained in:
parent
063a6777c2
commit
b3c369d1cc
@ -330,8 +330,8 @@ static void DialogOpenFile(void)
|
||||
|
||||
if(GetOpenFileNameW(&ofn))
|
||||
{
|
||||
prompt_save_changes();
|
||||
DoOpenFile(ofn.lpstrFile);
|
||||
if(prompt_save_changes())
|
||||
DoOpenFile(ofn.lpstrFile);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user