Fix signature for recursive find_icon_path_helper
Ref:81072c0420 (commitcomment-13705007)
. This reverts a part of81072c0
. Closes https://github.com/awesomeWM/awesome/pull/518.
This commit is contained in:
parent
37aad883a6
commit
1bd7aa103b
|
@ -185,7 +185,8 @@ local lookup_icon = function(self, icon_name, icon_size)
|
||||||
return nil
|
return nil
|
||||||
end
|
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)
|
local filename = lookup_icon(self, icon_name, icon_size)
|
||||||
if filename then
|
if filename then
|
||||||
return filename
|
return filename
|
||||||
|
|
Loading…
Reference in New Issue