diff options
author | Jose A Ortega Ruiz <jao@gnu.org> | 2010-02-21 23:30:19 +0100 |
---|---|---|
committer | Jose A Ortega Ruiz <jao@gnu.org> | 2010-02-21 23:30:19 +0100 |
commit | c0d6a02e8317413e110c0d1ad27ac424ccadc633 (patch) | |
tree | e06cd2ae6c6c43e0bec625bd31b3195b77712cfa /Plugins | |
parent | d56e2da928343b9cadb8e034036926e089ad861e (diff) | |
download | xmobar-c0d6a02e8317413e110c0d1ad27ac424ccadc633.tar.gz xmobar-c0d6a02e8317413e110c0d1ad27ac424ccadc633.tar.bz2 |
Wireless monitor: using a blank string for non-available quality
Ignore-this: 68911cd8edff9f75ecb843a0c43aa866
darcs-hash:20100221223019-748be-9ef7573ef68be0da063f37cea7a2024bb110387b.gz
Diffstat (limited to 'Plugins')
-rw-r--r-- | Plugins/Monitors/Wireless.hs | 2 |
1 files changed, 1 insertions, 1 deletions
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 |