diff options
| author | Jan200101 <sentrycraft123@gmail.com> | 2021-12-31 13:53:01 +0100 |
|---|---|---|
| committer | Jan200101 <sentrycraft123@gmail.com> | 2021-12-31 13:53:01 +0100 |
| commit | 99ddf1fb9274f2f1928b92abfe62c2172c19cdb3 (patch) | |
| tree | 1e72caa10110e73aa99b85379d85ae007972eb16 /data/plugins/projectsearch.lua | |
| parent | 416a06c5663e71e51fec5bf12ddd8a136f99a1c8 (diff) | |
| download | pragtical-99ddf1fb9274f2f1928b92abfe62c2172c19cdb3.tar.gz pragtical-99ddf1fb9274f2f1928b92abfe62c2172c19cdb3.zip | |
Migrate to Lua 5.4
Diffstat (limited to 'data/plugins/projectsearch.lua')
| -rw-r--r-- | data/plugins/projectsearch.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/plugins/projectsearch.lua b/data/plugins/projectsearch.lua index d0d75d7f..d0d14014 100644 --- a/data/plugins/projectsearch.lua +++ b/data/plugins/projectsearch.lua @@ -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 |
