From c0d6a02e8317413e110c0d1ad27ac424ccadc633 Mon Sep 17 00:00:00 2001 From: Jose A Ortega Ruiz Date: Sun, 21 Feb 2010 23:30:19 +0100 Subject: Wireless monitor: using a blank string for non-available quality Ignore-this: 68911cd8edff9f75ecb843a0c43aa866 darcs-hash:20100221223019-748be-9ef7573ef68be0da063f37cea7a2024bb110387b.gz --- Plugins/Monitors/Wireless.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugins/Monitors/Wireless.hs b/Plugins/Monitors/Wireless.hs index 167a48f..a870633 100644 --- a/Plugins/Monitors/Wireless.hs +++ b/Plugins/Monitors/Wireless.hs @@ -26,6 +26,6 @@ runWireless (iface:_) = do let essid = wiEssid wi quality = wiQuality wi e = if essid == "" then "N/A" else essid - q <- if quality >= 0 then showWithColors show quality else return "N/A" + q <- if quality >= 0 then showWithColors show quality else return "" parseTemplate [e, q] runWireless _ = return "" \ No newline at end of file -- cgit v1.2.3