Context: Code cleanup

This commit is contained in:
Paul Beckingham 2017-01-26 17:25:05 -05:00
parent dd54c26f9a
commit 04453f5f24

View file

@ -467,7 +467,7 @@ int Context::dispatch (std::string &out)
int Context::getWidth () int Context::getWidth ()
{ {
// Determine window size. // 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. // A zero width value means 'infinity', which is approximated here by 2^16.
if (width == 0) if (width == 0)