plugins/cheatfind: fix string formatting (nw)

This commit is contained in:
cracyc 2018-03-23 21:22:29 -05:00
parent 0b3880b862
commit c8f58a92e6

View File

@ -533,7 +533,7 @@ function cheatfind.startplugin()
count = count + #matches[#matches][num] count = count + #matches[#matches][num]
end end
end end
manager:machine():popmessage(count .. _(" total matches found")) manager:machine():popmessage(string.format(_("%d total matches found"), count))
matches[#matches].count = count matches[#matches].count = count
matchpg = 0 matchpg = 0
devsel = devcur devsel = devcur