mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Code Cleanup
- Removed references to ::strcmp. Thanks Fredde.
This commit is contained in:
parent
5cb009bc0a
commit
5632c49945
1 changed files with 2 additions and 2 deletions
|
@ -571,7 +571,7 @@ bool Att::match (const Att& other) const
|
|||
}
|
||||
else if (which == "text")
|
||||
{
|
||||
if (::strcmp (mValue.c_str (), other.mValue.c_str ()) <= 0)
|
||||
if (mValue <= other.mValue)
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
@ -601,7 +601,7 @@ bool Att::match (const Att& other) const
|
|||
}
|
||||
else if (which == "text")
|
||||
{
|
||||
if (::strcmp (mValue.c_str (), other.mValue.c_str ()) >= 0)
|
||||
if (mValue >= other.mValue)
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue