From adbefa15a789a16d44e8f15057473bf869f2320d Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Thu, 26 Jan 2017 17:25:05 -0500 Subject: [PATCH] Context: Code cleanup --- src/Context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Context.cpp b/src/Context.cpp index 883dd5b4e..39936e8ee 100644 --- a/src/Context.cpp +++ b/src/Context.cpp @@ -467,7 +467,7 @@ int Context::dispatch (std::string &out) int Context::getWidth () { // Determine window size. - int width = config.getInteger ("defaultwidth"); + auto width = config.getInteger ("defaultwidth"); // A zero width value means 'infinity', which is approximated here by 2^16. if (width == 0)