From 4f001f50533278d1bf945218d2c1c9ab0994949b Mon Sep 17 00:00:00 2001 From: Benedikt Ziemons Date: Sun, 2 Jun 2024 19:52:16 +0200 Subject: [PATCH] fixup! Fix string formatting in debug logging --- listframes.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/listframes.lua b/listframes.lua index e8d8665..b26f68d 100644 --- a/listframes.lua +++ b/listframes.lua @@ -60,7 +60,7 @@ local function redrawEntry(idx) local xPos, yPos = entryFrame.getPosition() local xSize, ySize = entryFrame.getSize() local visible = (yPos+ySize-1) >= paginationPos and yPos <= th - debugLog.writeLine(string.format("[redrawEntry] idx=%d, yPos=%d, visible=%t", idx, yPos, visible)) + debugLog.writeLine(string.format("[redrawEntry] idx=%d, yPos=%d, visible=%s", idx, yPos, tostring(visible))) debugLog.flush() entryFrame.setVisible(visible) end