Show the number of hits in Search Results.

This commit is contained in:
Tigran Aivazian
2012-09-15 21:28:47 +01:00
parent 284ab49db4
commit 3048311dd5

View File

@@ -275,7 +275,7 @@ function FileSearcher:choose(keywords)
fb.bb:paintRect(0, 0, G_width, G_height, 0)
-- draw menu title
DrawTitle("Search Results for \'"..string.upper(self.keywords).."\'",self.margin_H,0,self.title_H,3,tface)
DrawTitle("Search Results for \'"..string.upper(self.keywords).."\'".." ("..tostring(self.items).." hits)",self.margin_H,0,self.title_H,3,tface)
-- draw results
local c
if self.items == 0 then -- nothing found