summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stapelberg <michael+x200@stapelberg.de>2008-11-13 19:43:27 +0100
committerMichael Stapelberg <michael+x200@stapelberg.de>2008-11-13 19:43:27 +0100
commitd9ff643b1040e3e56545b2d1ba9f664b6c258f4e (patch)
treefb59bd34bc7186d862cba210a6ba766e92db49fa
parentb052bfa79b905268d498268d6fd4e5f272987b2b (diff)
Use 3 characters for WLAN signal strength
-rw-r--r--wmiistatus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wmiistatus.c b/wmiistatus.c
index 48c504c..95cc2ef 100644
--- a/wmiistatus.c
+++ b/wmiistatus.c
@@ -297,7 +297,7 @@ static char *get_wireless_info() {
} else {
const char *ip_address;
- (void)snprintf(part, sizeof(part), "W: (%02d%%) ", quality);
+ (void)snprintf(part, sizeof(part), "W: (%03d%%) ", quality);
ip_address = get_ip_address(wlan_interface);
strcpy(part+strlen(part), ip_address);
}