Fix disabled code.
authorRoy Marples <roy@marples.name>
Thu, 5 Mar 2015 19:59:56 +0000 (19:59 +0000)
committerRoy Marples <roy@marples.name>
Thu, 5 Mar 2015 19:59:56 +0000 (19:59 +0000)
Thanks to Simon Long.

src/dhcpcd-gtk/menu.c

index 8f4a9cda0a21409c251fd9893dd926d5adc22694..cc946000b693c89d5356365d51d4d9cc6be72d86 100644 (file)
@@ -189,6 +189,8 @@ create_menu(WI_SCAN *wis, DHCPCD_WI_SCAN *scan)
        if (scan->wpa_flags[0] == '\0')
                gtk_widget_set_tooltip_text(wim->menu, scan->bssid);
        else {
+               char *tip;
+
                tip = g_strconcat(scan->bssid, " ", scan->wpa_flags, NULL);
                gtk_widget_set_tooltip_text(wim->menu, tip);
                g_free(tip);