summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-11-17 23:27:42 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-11-17 23:27:42 +0000
commitbba039d22ba6c88cd94dd966a0c845497d5e3f43 (patch)
treecc7bce309c58d271e2e3cfee1afa29a81a878489 /apps
parent7dd4af8556a3dd22447db63874756b59be06fb2c (diff)
Removed the percent symbol from the volume and battery WPS tags
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7947 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/gui/gwps-common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c
index ed3e852661..d9b40807f7 100644
--- a/apps/gui/gwps-common.c
+++ b/apps/gui/gwps-common.c
@@ -344,7 +344,7 @@ static char* get_tag(struct wps_data* wps_data,
case 'v': /* volume */
*flags |= WPS_REFRESH_DYNAMIC;
- snprintf(buf, buf_size, "%d%%", global_settings.volume);
+ snprintf(buf, buf_size, "%d", global_settings.volume);
*intval = global_settings.volume / 10 + 1;
return buf;
@@ -403,7 +403,7 @@ static char* get_tag(struct wps_data* wps_data,
int l = battery_level();
if (l > -1)
{
- snprintf(buf, buf_size, "%d%%", l);
+ snprintf(buf, buf_size, "%d", l);
*intval = l / 20 + 1;
}
else