Changeset 554

Show
Ignore:
Timestamp:
10/13/08 12:24:19 (1 month ago)
Author:
smoors
Message:

Bugfix: support for UTF filenames on non-win32 platforms

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libs/hydrogen/src/song.cpp

    r436 r554  
    193193 
    194194 
    195         TiXmlDocument doc( filename.toAscii() ); 
     195        #ifdef win32 
     196                TiXmlDocument doc( filename.toAscii().constData() ); 
     197        #else 
     198                TiXmlDocument doc( filename.toUtf8().constData() ); 
     199        #endif 
     200 
     201 
    196202        doc.LoadFile(); 
    197203