From a4e487d29875462947f6ce63fbc2de0548ec0752 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 4d4541c7..5180231b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,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 eaf6b59e..c972de1f 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;