diff options
Diffstat (limited to 'core/fxcrt/extension.h')
-rw-r--r-- | core/fxcrt/extension.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fxcrt/extension.h b/core/fxcrt/extension.h index a9f3c23d29..a8a099c664 100644 --- a/core/fxcrt/extension.h +++ b/core/fxcrt/extension.h @@ -52,7 +52,7 @@ class CFX_CRTFileAccess : public IFX_FileAccess { void GetPath(CFX_WideString& wsPath) override { wsPath = m_path; } IFX_FileStream* CreateFileStream(uint32_t dwModes) override { - return FX_CreateFileStream(m_path, dwModes); + return FX_CreateFileStream(m_path.c_str(), dwModes); } FX_BOOL Init(const CFX_WideStringC& wsPath) { |