Don't crash when changing the autosave interval.

pull/19/head
whitequark 2016-06-23 11:55:15 +00:00
parent 5c754bd994
commit a4e487d298
2 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,7 @@ Other new features:
Bug fixes: Bug fixes:
* Do not remove autosaves after successfully opening a file, preventing * Do not remove autosaves after successfully opening a file, preventing
data loss in case of two abnormal terminations in a row. 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. * Three.js: correctly respond to controls when browser zoom is used.
* OS X: do not completely hide main window when defocused. * OS X: do not completely hide main window when defocused.

View File

@ -453,6 +453,7 @@ bool TextWindow::EditControlDoneForConfiguration(const char *s) {
} else { } else {
Error("Bad format: specify interval in integral minutes"); Error("Bad format: specify interval in integral minutes");
} }
break;
} }
default: return false; default: return false;