mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Misc: Add support for custom link colors. Clean-up hyperlink validation, no more long-ass defines. Remove UI.ShowQuestLevelsInDialogs.
(cherry picked from commit eaf8fa75a1)
This commit is contained in:
@@ -842,7 +842,7 @@ bool StringEqualI(std::string_view str1, std::string_view str2)
|
||||
|
||||
bool StringStartsWith(std::string_view haystack, std::string_view needle)
|
||||
{
|
||||
return (haystack.rfind(needle, 0) == 0);
|
||||
return (haystack.substr(0, needle.length()) == needle);
|
||||
}
|
||||
|
||||
bool StringContainsStringI(std::string_view haystack, std::string_view needle)
|
||||
|
||||
Reference in New Issue
Block a user