shithub: orca

Download patch

ref: 974c3ae8407d1ab63e568a8958ac0810c2f5baf3
parent: 7f66ba4f2299bf31fe88ecd88a5e0898f05c0f86
author: cancel <cancel@cancel.fm>
date: Mon Jan 27 03:57:20 EST 2020

Cleanup

--- a/tui_main.c
+++ b/tui_main.c
@@ -3192,11 +3192,10 @@
           oso *addr = NULL;
           // Empty string is OK here
           if (qform_get_text_line(qf, Single_form_item_id, &addr)) {
-            if (osolen(addr)) {
+            if (osolen(addr))
               ososwap(&t->osc_address, &addr);
-            } else {
+            else
               osowipe(&t->osc_address);
-            }
             qnav_stack_pop();
             tui_restart_osc_udp_if_enabled(t);
             t->prefs_touched |= TOUCHFLAG(Confopt_osc_output_address);