From e7a1745b868e66f68edea6cafc757aac71626e66 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Fri, 26 May 2017 15:33:56 +0200 Subject: [PATCH] Fix Luacheck warnings (#1798) This fixes warnings that were introduced with f22ef5014d9566 / https://github.com/awesomeWM/awesome/pull/1477. Signed-off-by: Uli Schlachter --- lib/beautiful/xresources.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/beautiful/xresources.lua b/lib/beautiful/xresources.lua index 085fd082..ce6e78ea 100644 --- a/lib/beautiful/xresources.lua +++ b/lib/beautiful/xresources.lua @@ -91,8 +91,8 @@ function xresources.get_dpi(s) if not xresources.dpi then if root then local mm_to_inch = 25.4 - _, h = root.size() - _, hmm = root.size_mm() + local _, h = root.size() + local _, hmm = root.size_mm() if hmm ~= 0 then xresources.dpi = round(h*mm_to_inch/hmm) end