From f9cc29ec913c6848ece7b719b6c82f17b0a4b008 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 3 Apr 2020 23:26:51 +0200 Subject: stats: fix previous commit The previous commit included a rendering error of the "Speed:" line, caused by incorrect copy&paste. --- player/lua/stats.lua | 4 ++-- 1 file 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:"}) -- cgit v1.2.3