From 561b2797e860ba0347e5999dd605836ba1f515ed Mon Sep 17 00:00:00 2001 From: whitequark Date: Thu, 23 Jun 2016 11:55:15 +0000 Subject: [PATCH] Don't crash when changing the autosave interval. --- CHANGELOG.md | 1 + src/confscreen.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 23613a2..69c4095 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ Other new features: Bug fixes: * Do not remove autosaves after successfully opening a file, preventing data loss in case of two abnormal terminations in a row. + * Do not crash when changing autosave interval. * Three.js: correctly respond to controls when browser zoom is used. * OS X: do not completely hide main window when defocused. diff --git a/src/confscreen.cpp b/src/confscreen.cpp index e518e1b..a7ad678 100644 --- a/src/confscreen.cpp +++ b/src/confscreen.cpp @@ -453,6 +453,7 @@ bool TextWindow::EditControlDoneForConfiguration(const char *s) { } else { Error("Bad format: specify interval in integral minutes"); } + break; } default: return false;