From: luke bonham Date: Wed, 29 Jan 2014 19:08:16 +0000 (+0100) Subject: fixed typo in helpers.lua X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/c73b41c6368deb9591b262d65515d4ff22f26fef?ds=sidebyside;hp=-c fixed typo in helpers.lua --- c73b41c6368deb9591b262d65515d4ff22f26fef diff --git a/helpers.lua b/helpers.lua index 08aba0d..af6443f 100644 --- a/helpers.lua +++ b/helpers.lua @@ -61,7 +61,7 @@ end -- get first non empty line from a file, -- returns nil otherwise function helpers.first_nonempty_line(file) - for k,v in pairs(lines_from(file)) do + for k,v in pairs(helpers.lines_from(file)) do if #v then return v end end return nil