summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/text_editor.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/plugins/text_editor.c b/apps/plugins/text_editor.c
index 216fbc0117..8552590efa 100644
--- a/apps/plugins/text_editor.c
+++ b/apps/plugins/text_editor.c
@@ -424,6 +424,9 @@ enum plugin_status plugin_start(const void* parameter)
rb->set_color(rb->screens[SCREEN_MAIN], name, &color, -1);
temp_changed = (value == NULL) || (color != old_color);
break;
+ default:
+ /* Should never happend but makes compiler happy */
+ temp_changed = false;
}
if (temp_changed)