From 1bd7aa103be569b164a6c26eadd1243ca4891f7a Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sun, 11 Oct 2015 14:34:52 +0200 Subject: [PATCH] Fix signature for recursive find_icon_path_helper Ref: https://github.com/blueyed/awesome/commit/81072c042087b7dd7b214b44a7e559f09e0280f6#commitcomment-13705007. This reverts a part of 81072c0. Closes https://github.com/awesomeWM/awesome/pull/518. --- lib/menubar/icon_theme.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/menubar/icon_theme.lua b/lib/menubar/icon_theme.lua index bb7fab633..f29b14d9f 100644 --- a/lib/menubar/icon_theme.lua +++ b/lib/menubar/icon_theme.lua @@ -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