diff options
author | Arisotura <thetotalworm@gmail.com> | 2019-06-01 02:54:38 +0200 |
---|---|---|
committer | Arisotura <thetotalworm@gmail.com> | 2019-06-01 02:54:38 +0200 |
commit | 27d21e06df8d24ab6c4e53ba5305af533b09f6f2 (patch) | |
tree | 03affec20bbf3d732d78ae08ac54b8ddeebed787 /src/libui_sdl | |
parent | 06e08b053fa6523657aab4074c25a52c65364ad6 (diff) |
use regular slash instead of backslash in config file name. fixes #413
Diffstat (limited to 'src/libui_sdl')
-rw-r--r-- | src/libui_sdl/Platform.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libui_sdl/Platform.cpp b/src/libui_sdl/Platform.cpp index e3035b3..94b3791 100644 --- a/src/libui_sdl/Platform.cpp +++ b/src/libui_sdl/Platform.cpp @@ -167,7 +167,7 @@ FILE* OpenLocalFile(const char* path, const char* mode) int len = emudirlen + 1 + pathlen + 1; emudirpath = new char[len]; strncpy(&emudirpath[0], EmuDirectory, emudirlen); - emudirpath[emudirlen] = '\\'; + emudirpath[emudirlen] = '/'; strncpy(&emudirpath[emudirlen+1], path, pathlen); emudirpath[emudirlen+1+pathlen] = '\0'; } |