forked from len0rd/rockbox
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
This commit is contained in:
parent
fac7852300
commit
b10017e3e8
2 changed files with 4 additions and 1 deletions
|
@ -315,7 +315,9 @@ int wps_load_custom_config(void)
|
||||||
id3->elapsed / 60000,
|
id3->elapsed / 60000,
|
||||||
id3->elapsed % 60000 / 1000);
|
id3->elapsed % 60000 / 1000);
|
||||||
break;
|
break;
|
||||||
|
case '%': /* Displays % */
|
||||||
|
snprintf(tmpbuf, sizeof(tmpbuf), "%%");
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
|
@ -24,5 +24,6 @@
|
||||||
extern bool keys_locked;
|
extern bool keys_locked;
|
||||||
|
|
||||||
int wps_show(void);
|
int wps_show(void);
|
||||||
|
int wps_load_custom_config(void);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue