summaryrefslogtreecommitdiffhomepage
path: root/Plugins/Monitors/Wireless.hs
diff options
context:
space:
mode:
authorJose A Ortega Ruiz <jao@gnu.org>2010-02-21 23:34:26 +0100
committerJose A Ortega Ruiz <jao@gnu.org>2010-02-21 23:34:26 +0100
commite376eda1088a27faf4c3cae9e0835ed58894899c (patch)
treebe0f1fd04ddc8cde5524e4f740a1b6b4646c4b76 /Plugins/Monitors/Wireless.hs
parentc0d6a02e8317413e110c0d1ad27ac424ccadc633 (diff)
downloadxmobar-e376eda1088a27faf4c3cae9e0835ed58894899c.tar.gz
xmobar-e376eda1088a27faf4c3cae9e0835ed58894899c.tar.bz2
Respect padding in the blank string above
Ignore-this: fd7a44d61a0cd2e795417f459afc8a3e darcs-hash:20100221223426-748be-0b8ae6d352cbfb03b17910dbf5df7e119c9dea77.gz
Diffstat (limited to 'Plugins/Monitors/Wireless.hs')
-rw-r--r--Plugins/Monitors/Wireless.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Plugins/Monitors/Wireless.hs b/Plugins/Monitors/Wireless.hs
index a870633..a17fb11 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 ""
+ q <- if quality >= 0 then showWithColors show quality else return " "
parseTemplate [e, q]
runWireless _ = return "" \ No newline at end of file