mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-10 08:00:05 +00:00
Cleanup: iif should be iff (if-and-only-if) (#11570)
This commit is contained in:
parent
8186182e4c
commit
102fc6a9d1
@ -215,7 +215,7 @@ struct Rect {
|
|||||||
/**
|
/**
|
||||||
* Test if a point falls inside this Rect.
|
* Test if a point falls inside this Rect.
|
||||||
* @param pt the point to test.
|
* @param pt the point to test.
|
||||||
* @return true iif the point falls inside the Rect.
|
* @return true iff the point falls inside the Rect.
|
||||||
*/
|
*/
|
||||||
inline bool Contains(const Point &pt) const
|
inline bool Contains(const Point &pt) const
|
||||||
{
|
{
|
||||||
|
@ -78,7 +78,7 @@ struct ObjectSpec {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Test if this object is enabled.
|
* Test if this object is enabled.
|
||||||
* @return True iif this object is enabled.
|
* @return True iff this object is enabled.
|
||||||
*/
|
*/
|
||||||
bool IsEnabled() const { return this->views > 0; }
|
bool IsEnabled() const { return this->views > 0; }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user