From 5ecb00fe0e89401768431550e41ba6f58cdfd5b5 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Thu, 26 Jan 2017 17:25:24 -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 39936e8ee..8731af5de 100644 --- a/src/Context.cpp +++ b/src/Context.cpp @@ -502,7 +502,7 @@ int Context::getWidth () int Context::getHeight () { // Determine window size. - int height = config.getInteger ("defaultheight"); + auto height = config.getInteger ("defaultheight"); // A zero height value means 'infinity', which is approximated here by 2^16. if (height == 0)