dtcm: Coverity 174713

This commit is contained in:
Peter Howkins 2018-07-13 17:37:55 +01:00
parent 603e917918
commit 801ed535e1
1 changed files with 1 additions and 1 deletions

View File

@ -2136,7 +2136,7 @@ p_save_changes(Calendar *c) {
if (redisplay_mask & PROPS_REDO_EDITORS) {
if (((Editor *) c->editor)->base_form_mgr) {
if (c->editor && ((Editor *) c->editor)->base_form_mgr) {
Editor *e = (Editor *) c->editor;
DSSW *dssw = &((Editor *) c->editor)->dssw;