mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-19 12:39:11 +00:00
Codechange: introduce StrEqualsIgnoreCase/StrCompareIgnoreCase to replace strcasecmp
This commit is contained in:
@@ -128,7 +128,7 @@ public:
|
||||
Blitters::iterator it = GetBlitters().begin();
|
||||
for (; it != GetBlitters().end(); it++) {
|
||||
BlitterFactory *b = (*it).second;
|
||||
if (strcasecmp(bname, b->name.c_str()) == 0) {
|
||||
if (StrEqualsIgnoreCase(bname, b->name)) {
|
||||
return b->IsUsable() ? b : nullptr;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user