aboutsummaryrefslogtreecommitdiffhomepage
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index c85615d..0cea4e9 100644
--- a/main.cpp
+++ b/main.cpp
@@ -58,7 +58,8 @@ Interface::process_notify(SCNotification *notify)
g_printf("SCINTILLA SAVEPOINT LEFT\n");
#endif
- if (!ring.current || ring.current->dirty)
+ if (!dirty_check_enabled ||
+ !ring.current || ring.current->dirty)
break;
undo.push_msg(SCI_SETSAVEPOINT);