Diff of /src/SciTEIO.cxx [63d302] .. [b60463]  Maximize  Restore

Switch to side-by-side view

--- a/src/SciTEIO.cxx
+++ b/src/SciTEIO.cxx
@@ -448,6 +448,7 @@
 					extender->OnSave(buffers.buffers[iBuffer].AsUTF8().c_str());
 			} else {
 				buffers.buffers[iBuffer].isDirty = false;
+				buffers.buffers[iBuffer].failedSave = false;
 				// Need to make writable and set save point when next receive focus.
 				buffers.AddFuture(iBuffer, Buffer::fdFinishSave);
 				SetBuffersMenu();
@@ -1063,6 +1064,7 @@
 				}
 			}
 		} else {
+			CurrentBuffer()->failedSave = true;
 			msg = LocaliseMessage(
 			            "Could not save file '^0'. Save under a different name?", filePath.AsInternal());
 			decision = WindowMessageBox(wSciTE, msg, MB_YESNO | MB_ICONWARNING);

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks