diff --git a/src/states_screens/credits.cpp b/src/states_screens/credits.cpp index 24d819965..e7a6a5b24 100644 --- a/src/states_screens/credits.cpp +++ b/src/states_screens/credits.cpp @@ -143,7 +143,7 @@ void CreditsScreen::loadedFromFile() std::string creditsfile = file_manager->getAsset("CREDITS"); - std::ifstream file( creditsfile.c_str() ) ; + std::ifstream file( creditsfile.c_str(), std::ios::binary ) ; if (file.fail() || !file.is_open() || file.eof()) {