mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 00:27:42 +00:00
Fix CGuiTextSupport crash
This commit is contained in:
@@ -144,7 +144,7 @@ void CGuiTextSupport::CheckAndRebuildTextBuffer()
|
||||
g_TextExecuteBuf->AddColor(EColorType::Outline, x28_outlineColor);
|
||||
|
||||
std::u16string initStr;
|
||||
if (x5c_fontId != 0xffffffff)
|
||||
if (x5c_fontId != kInvalidResId)
|
||||
initStr = hecl::Char16Format(L"&font=%08X;", u32(x5c_fontId));
|
||||
initStr += x0_string;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user