diff options
Diffstat (limited to 'core/include/fxge')
-rw-r--r-- | core/include/fxge/fx_ge_win32.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/include/fxge/fx_ge_win32.h b/core/include/fxge/fx_ge_win32.h index 311d355ef7..d39a8071e3 100644 --- a/core/include/fxge/fx_ge_win32.h +++ b/core/include/fxge/fx_ge_win32.h @@ -38,7 +38,7 @@ public: static CFX_DIBitmap* LoadFromFile(FX_LPCSTR filename) { - return LoadFromFile(CFX_WideString::FromLocal(filename)); + return LoadFromFile(CFX_WideString::FromLocal(filename).c_str()); } static CFX_DIBitmap* LoadDIBitmap(WINDIB_Open_Args_ args); |