From 6216f0e979239b7ee14e6f53cd0f1e14e5effae0 Mon Sep 17 00:00:00 2001 From: jgmdev Date: Fri, 11 Mar 2022 05:09:39 -0400 Subject: tabnumbers: make use of an unused variable --- plugins/tabnumbers.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/tabnumbers.lua b/plugins/tabnumbers.lua index f729e0c..1656100 100644 --- a/plugins/tabnumbers.lua +++ b/plugins/tabnumbers.lua @@ -23,6 +23,6 @@ function Node:draw_tabs(...) color = style.accent end -- renderer.draw_rect(x, y + h - 1, free_real_estate, 1, color) - common.draw_text(style.font, color, tostring(i), "center", x, y, free_real_estate, h) + common.draw_text(style.font, color, number, "center", x, y, free_real_estate, h) end end -- cgit v1.2.3