mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Code Cleanup
- 'measure' now accepts unsigned ints for 'minimum' and 'maximum' args.
This commit is contained in:
parent
40f2afeb8e
commit
19cc9177b9
42 changed files with 54 additions and 55 deletions
|
@ -64,7 +64,7 @@ bool ColumnUUID::validate (std::string& value)
|
|||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Set the minimum and maximum widths for the value.
|
||||
void ColumnUUID::measure (Task&, int& minimum, int& maximum)
|
||||
void ColumnUUID::measure (Task&, unsigned int& minimum, unsigned int& maximum)
|
||||
{
|
||||
if (_style == "default" || _style == "long") minimum = maximum = 36;
|
||||
else if (_style == "short") minimum = maximum = 8;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue