summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-08-18 01:42:43 +0200
committerwm4 <wm4@nowhere>2014-08-18 01:42:43 +0200
commit52ead45f0584dad3786720cc60a0232ed346abb9 (patch)
treeb73dfe332e459f0725399822beb1284b98b2236f /player
parent9f31b73cda23eba00924b179b7bee8d34692f382 (diff)
downloadmpv-52ead45f0584dad3786720cc60a0232ed346abb9.tar.bz2
mpv-52ead45f0584dad3786720cc60a0232ed346abb9.tar.xz
command: drop " %" from "cache" property OSD-formatting
Diffstat (limited to 'player')
-rw-r--r--player/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/command.c b/player/command.c
index 9ca2ce8812..6dcfc8597f 100644
--- a/player/command.c
+++ b/player/command.c
@@ -1110,7 +1110,7 @@ static int mp_property_cache(void *ctx, struct m_property *prop,
return M_PROPERTY_UNAVAILABLE;
if (action == M_PROPERTY_PRINT) {
- *(char **)arg = talloc_asprintf(NULL, "%d %%", (int)cache);
+ *(char **)arg = talloc_asprintf(NULL, "%d", (int)cache);
return M_PROPERTY_OK;
}