shithub: orca

Download patch

ref: b9b845621b86c7a8cbac2a91300037000540c1b8
parent: e1f3bd2bdd0f4ecbfa955eb4f73d2c54c8e93b84
author: cancel <cancel@cancel.fm>
date: Sun Jan 26 22:15:23 EST 2020

Cleanup

--- a/tui_main.c
+++ b/tui_main.c
@@ -3551,11 +3551,9 @@
         switch (qb->tag) {
         case Qblock_type_qmsg:
           break;
-        case Qblock_type_qmenu: {
-          Qmenu *qm = qmenu_of(qb);
-          qmenu_set_displayed_active(qm, is_frontmost);
+        case Qblock_type_qmenu:
+          qmenu_set_displayed_active(qmenu_of(qb), is_frontmost);
           break;
-        }
         case Qblock_type_qform:
           break;
         }