Migrate to Lua 5.4

This commit is contained in:
Jan200101 committed 2021-12-31 13:53:01 +01:00
1 parent 416a06c566
commit 99ddf1fb92
12 files changed
+98 -56

No files matched your search

+1 -1
View File
@@ -176,7 +176,7 @@ function ResultsView:draw()
local text
if self.searching then
if files_number then
text = string.format("Searching %d%% (%d of %d files, %d matches) for %q...",
text = string.format("Searching %.f%% (%d of %d files, %d matches) for %q...",
per * 100, self.last_file_idx, files_number,
#self.results, self.query)
else