summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2021-02-05 19:12:23 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2021-02-05 19:12:23 -0500
commit5364889cb38e841a19f20097b117af8030a969c5 (patch)
treeacf3dda3440222076501ac4421618a88826d9aad /menu.c
parent28ebeb8ad660fecb54aeb9541b72e64f9993b5ae (diff)
finishing touches for v. 0.2
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/menu.c b/menu.c
index d7af1e9..8600136 100644
--- a/menu.c
+++ b/menu.c
@@ -202,6 +202,7 @@ static void menu_render(Ted *ted, Menu menu) {
return;
}
switch (menu) {
+ case MENU_NONE: assert(0); break;
case MENU_WARN_UNSAVED: {
char title[64] = {0}, body[1024] = {0};
strbuf_printf(title, "Save changes?");