summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2020-04-03 23:26:51 +0200
committerwm4 <wm4@nowhere>2020-04-03 23:26:51 +0200
commitf9cc29ec913c6848ece7b719b6c82f17b0a4b008 (patch)
treefa8a2ae0cfae0d3d247500e35dff9e0e8b701134
parent516934b233882003864cffea0d78f28323a9cd68 (diff)
downloadmpv-f9cc29ec913c6848ece7b719b6c82f17b0a4b008.tar.bz2
mpv-f9cc29ec913c6848ece7b719b6c82f17b0a4b008.tar.xz
stats: fix previous commit
The previous commit included a rendering error of the "Speed:" line, caused by incorrect copy&paste.
-rw-r--r--player/lua/stats.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/player/lua/stats.lua b/player/lua/stats.lua
index 6476f0595c..98bc1be7c9 100644
--- a/player/lua/stats.lua
+++ b/player/lua/stats.lua
@@ -657,8 +657,8 @@ local function cache_stats()
nil, 0.8, 1)
speed_graph = o.prefix_sep .. speed_graph
end
- append(stats, utils.format_bytes_humanized(speed) .. "/s", {prefix="Speed:", nl="",
- indent=o.prefix_sep, no_prefix_markup=true, suffix=speed_graph})
+ append(stats, utils.format_bytes_humanized(speed) .. "/s", {prefix="Speed:",
+ suffix=speed_graph})
append(stats, utils.format_bytes_humanized(info["total-bytes"]),
{prefix = "Total RAM:"})