diff options
author | Michael Stapelberg <michael+x200@stapelberg.de> | 2008-11-13 19:43:27 +0100 |
---|---|---|
committer | Michael Stapelberg <michael+x200@stapelberg.de> | 2008-11-13 19:43:27 +0100 |
commit | d9ff643b1040e3e56545b2d1ba9f664b6c258f4e (patch) | |
tree | fb59bd34bc7186d862cba210a6ba766e92db49fa /wmiistatus.c | |
parent | b052bfa79b905268d498268d6fd4e5f272987b2b (diff) |
Use 3 characters for WLAN signal strength
Diffstat (limited to 'wmiistatus.c')
-rw-r--r-- | wmiistatus.c | 2 |
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); } |