Index: core/src/fxcrt/fx_basic_utf.cpp |
diff --git a/core/src/fxcrt/fx_basic_utf.cpp b/core/src/fxcrt/fx_basic_utf.cpp |
index 749e1226d3f239c1d00dd292b4d412b03c8a5e0b..3625feb130cbed89f155eb523a5e48b03f4393be 100644 |
--- a/core/src/fxcrt/fx_basic_utf.cpp |
+++ b/core/src/fxcrt/fx_basic_utf.cpp |
@@ -74,7 +74,7 @@ void CFX_UTF8Encoder::Input(FX_WCHAR unicode) { |
} |
} |
CFX_ByteString FX_UTF8Encode(const FX_WCHAR* pwsStr, FX_STRSIZE len) { |
- FXSYS_assert(pwsStr != NULL); |
+ FXSYS_assert(pwsStr); |
if (len < 0) { |
len = FXSYS_wcslen(pwsStr); |
} |