diff options
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/game_text.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/game_text.cpp b/src/game/game_text.cpp index 39732f789..f704dbc2e 100644 --- a/src/game/game_text.cpp +++ b/src/game/game_text.cpp @@ -66,7 +66,7 @@ void NORETURN CDECL strgen_fatal(const char *s, ...) LanguageStrings ReadRawLanguageStrings(const std::string &file) { size_t to_read; - FILE *fh = FioFOpenFile(file.c_str(), "rb", GAME_DIR, &to_read); + FILE *fh = FioFOpenFile(file, "rb", GAME_DIR, &to_read); if (fh == nullptr) return LanguageStrings(); FileCloser fhClose(fh); |