From 52ead45f0584dad3786720cc60a0232ed346abb9 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 18 Aug 2014 01:42:43 +0200 Subject: [PATCH] command: drop " %" from "cache" property OSD-formatting --- player/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }