From: Michael Stapelberg Date: Thu, 13 Nov 2008 18:43:27 +0000 (+0100) Subject: Use 3 characters for WLAN signal strength X-Git-Tag: 1.0~36 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d9ff643b1040e3e56545b2d1ba9f664b6c258f4e;p=i3%2Fi3status Use 3 characters for WLAN signal strength --- 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); }