Fix signature for recursive find_icon_path_helper

Ref: 81072c0420 (commitcomment-13705007).

This reverts a part of 81072c0.

Closes https://github.com/awesomeWM/awesome/pull/518.
This commit is contained in:
Daniel Hahler 2015-10-11 14:34:52 +02:00
parent 37aad883a6
commit 1bd7aa103b

View file

@ -185,7 +185,8 @@ local lookup_icon = function(self, icon_name, icon_size)
return nil
end
local find_icon_path_helper = function(self, icon_name, icon_size)
local find_icon_path_helper -- Gets called recursively.
find_icon_path_helper = function(self, icon_name, icon_size)
local filename = lookup_icon(self, icon_name, icon_size)
if filename then
return filename