shithub: orca

Download patch

ref: 42307ce4815310803b74c00155cd5aa5c682fb56
parent: 1c62d533b7ea900881c9b027094a97945839f84d
author: cancel <cancel@cancel.fm>
date: Mon Jan 6 02:19:55 EST 2020

Cleanup

--- a/term_util.c
+++ b/term_util.c
@@ -83,7 +83,7 @@
   ITEM* initial_item;
   int id;
   // Flag for right-padding hack. Temp until we do our own menus
-  bool has_submenu_item : 1;
+  U8 has_submenu_item : 1;
 };
 
 struct Qform {
@@ -324,7 +324,7 @@
   qm->items_cap = 0;
   qm->initial_item = NULL;
   qm->id = id;
-  qm->has_submenu_item = false;
+  qm->has_submenu_item = 0;
   return qm;
 }
 void qmenu_destroy(Qmenu* qm) { qmenu_free(qm); }