mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Context: Code cleanup
This commit is contained in:
parent
dd54c26f9a
commit
04453f5f24
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue