File AriaMaestosa-fix_return.patch of Package AriaMaestosa
--- AriaSrc-1.4.12/Src/GUI/MainFrameMenuBar.cpp.orig 2016-04-30 00:48:16.000000000 +0200
+++ AriaSrc-1.4.12/Src/GUI/MainFrameMenuBar.cpp 2016-09-15 21:21:38.099287136 +0200
@@ -657,15 +657,14 @@
int answer = wxMessageBox( _("The file no longer exists on disk. Do you want to save it anyway?"), _("Warning"),
wxYES_NO, this);
- if (answer == wxNO)
- {
- return false;
- }
-
if (answer == wxYES)
{
return doSaveAs();
}
+ else
+ {
+ return false;
+ }
}
else
{