# HG changeset patch # User unc0rr # Date 1228425423 0 # Node ID 4a610e970b66d120324a7b09666e8fe1de188814 # Parent 18e412dd7d500287fec5b95d31129fa0fb11f625 Try to fix problem with playing music when path contains non-latin letters diff -r 18e412dd7d50 -r 4a610e970b66 QTfrontend/SDLs.cpp --- a/QTfrontend/SDLs.cpp Thu Dec 04 21:15:01 2008 +0000 +++ b/QTfrontend/SDLs.cpp Thu Dec 04 21:17:03 2008 +0000 @@ -60,7 +60,7 @@ void SDLInteraction::StartMusic() { if (!music) - music = Mix_LoadMUS(QString(datadir->absolutePath() + "/Music/main theme.ogg").toAscii().constData()); + music = Mix_LoadMUS(QString(datadir->absolutePath() + "/Music/main theme.ogg").toLocal8Bit().constData()); Mix_FadeInMusic(music, -1, 3000); }