Index: core/fxge/ge/fx_ge_text.cpp |
diff --git a/core/fxge/ge/fx_ge_text.cpp b/core/fxge/ge/fx_ge_text.cpp |
index 8d6fecf7a1b4e2c2ca16055f4a52c4a309ebac59..125547e5a73643b5d4b50adb7da8d73320f8ee11 100644 |
--- a/core/fxge/ge/fx_ge_text.cpp |
+++ b/core/fxge/ge/fx_ge_text.cpp |
@@ -192,7 +192,8 @@ FX_BOOL CFX_RenderDevice::DrawNormalText(int nChars, |
bool should_call_draw_device_text = true; |
#if _FXM_PLATFORM_ == _FXM_PLATFORM_APPLE_ |
if ((text_flags & FXFONT_CIDFONT) || |
- (pFont->GetPsName().Find(CFX_WideString::FromLocal("+ZJHL")) != -1) || |
+ (pFont->GetPsName().Find( |
+ CFX_WideString::FromLocal("+ZJHL").AsWideStringC()) != -1) || |
(pFont->GetPsName() == CFX_WideString::FromLocal("CNAAJI+cmex10"))) { |
should_call_draw_device_text = false; |
} |