You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
@@ -424,7 +424,9 @@ struct _PaletteEntry {
|
|||||||
String name;
|
String name;
|
||||||
|
|
||||||
bool operator<(const _PaletteEntry &p_rhs) const {
|
bool operator<(const _PaletteEntry &p_rhs) const {
|
||||||
return name < p_rhs.name;
|
// Natural no case comparison will compare strings based on CharType
|
||||||
|
// order (except digits) and on numbers that start on the same position.
|
||||||
|
return name.naturalnocasecmp_to(p_rhs.name) < 0;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|||||||
Reference in New Issue
Block a user