Fixed incorrect handling of 0x1a character in credit files
(which can happen in unicode, previously stk would stop reading files after 0x1a).
This commit is contained in:
parent
f543ba4f7b
commit
0e90042a0d
@ -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())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user