From d9ff643b1040e3e56545b2d1ba9f664b6c258f4e Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Thu, 13 Nov 2008 19:43:27 +0100 Subject: [PATCH] Use 3 characters for WLAN signal strength --- wmiistatus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.5