summaryrefslogtreecommitdiff
path: root/apps/wps.c
diff options
context:
space:
mode:
authorJustin Heiner <jheiner@rockbox.org>2002-08-22 03:02:59 +0000
committerJustin Heiner <jheiner@rockbox.org>2002-08-22 03:02:59 +0000
commitb10017e3e8fd6fdde5b61cac9b8e7af095ad6c7c (patch)
tree3badb13e88135844c867f6788a1bafa43f7f709c /apps/wps.c
parentfac7852300b318e7b1d6b15a6c331cfee445a9ee (diff)
Added %% as an available tag to the Custom WPS. Displays % when used
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1909 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/wps.c')
-rw-r--r--apps/wps.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/wps.c b/apps/wps.c
index dc588a56da..f601865bcd 100644
--- a/apps/wps.c
+++ b/apps/wps.c
@@ -315,7 +315,9 @@ int wps_load_custom_config(void)
id3->elapsed / 60000,
id3->elapsed % 60000 / 1000);
break;
-
+ case '%': /* Displays % */
+ snprintf(tmpbuf, sizeof(tmpbuf), "%%");
+ break;
}
break;
default: