Context: Code cleanup
This commit is contained in:
@@ -502,7 +502,7 @@ int Context::getWidth ()
|
|||||||
int Context::getHeight ()
|
int Context::getHeight ()
|
||||||
{
|
{
|
||||||
// Determine window size.
|
// 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.
|
// A zero height value means 'infinity', which is approximated here by 2^16.
|
||||||
if (height == 0)
|
if (height == 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user