diff --git a/Source/UI/Text/TextMarkup.cpp b/Source/UI/Text/TextMarkup.cpp index 1c9fd949..b01a1f06 100644 --- a/Source/UI/Text/TextMarkup.cpp +++ b/Source/UI/Text/TextMarkup.cpp @@ -44,7 +44,7 @@ static const std::string g_questTagEnd = ""; // OFFSET: 0x00A7CA90 // FUNCTION: fn_16949 -void ExtractNavigationTextLinks(const std::string& text, std::vector& links) { +void __stdcall ExtractNavigationTextLinks(const std::string& text, std::vector& links) { ExtractTextLinks(text, g_naviTagBegin, g_naviTagEnd, links); } @@ -215,7 +215,7 @@ const std::string RemoveTextLinkInfo(const std::string& source) { // OFFSET: 0x00A7CAB0 // FUNCTION: fn_16950 -void ExtractTextLinks(const std::string& source, const std::string& begin, const std::string& end, std::vector& links) { +void __stdcall ExtractTextLinks(const std::string& source, const std::string& begin, const std::string& end, std::vector& links) { std::string text = source; auto position = text.find(begin); diff --git a/Source/UI/Text/TextMarkup.h b/Source/UI/Text/TextMarkup.h index 659466cb..67e723a6 100644 --- a/Source/UI/Text/TextMarkup.h +++ b/Source/UI/Text/TextMarkup.h @@ -23,8 +23,8 @@ const std::string DisplayQuestTextTag(const std::string& text); const std::string DisplayTipBoxTextTag(const std::string& text); const std::string DisplayUrlTextTag(const std::string& text); const std::string RemoveTextLinkInfo(const std::string& source); -void ExtractTextLinks(const std::string& source, const std::string& begin, const std::string& end, std::vector& links); -void ExtractNavigationTextLinks(const std::string& text, std::vector& links); +void __stdcall ExtractTextLinks(const std::string& source, const std::string& begin, const std::string& end, std::vector& links); +void __stdcall ExtractNavigationTextLinks(const std::string& text, std::vector& links); void ExtractTipBoxTextLinks(const std::string& text, std::vector& links); void ExtractUrlTextLinks(const std::string& text, std::vector& links);