Index: core/fxcrt/fxcrt_platforms.cpp |
diff --git a/core/fxcrt/fxcrt_platforms.cpp b/core/fxcrt/fxcrt_platforms.cpp |
index 16e1a0976d369db06e937524166fc1eb98c1dfc2..dfe46442b5952619e9fcf21dd13651c572304d19 100644 |
--- a/core/fxcrt/fxcrt_platforms.cpp |
+++ b/core/fxcrt/fxcrt_platforms.cpp |
@@ -44,7 +44,7 @@ FX_BOOL CFXCRT_FileAccess_CRT::Open(const CFX_ByteStringC& fileName, |
} |
CFX_ByteString strMode; |
FXCRT_GetFileModeString(dwMode, strMode); |
- m_hFile = FXSYS_fopen(fileName.GetCStr(), strMode.c_str()); |
+ m_hFile = FXSYS_fopen(fileName.c_str(), strMode.c_str()); |
return m_hFile != NULL; |
} |
FX_BOOL CFXCRT_FileAccess_CRT::Open(const CFX_WideStringC& fileName, |