Context: Code cleanup
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user