[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdegames/kmahjongg
From:       Dave Corrie <kde () davecorrie ! com>
Date:       2003-05-20 16:33:35
[Download RAW message or body]

CVS commit by davec: 

Patch by Médéric Boquien to fix bug#58189 (i18n names aren't displayed correctly in highscores).


  M +1 -1      HighScore.cpp   1.13


--- kdegames/kmahjongg/HighScore.cpp  #1.12:1.13
@@ -235,5 +235,5 @@ void HighScore::loadTables(void) {
                         if (buff[strlen(buff)-1] == '\n')
                                 buff[strlen(buff)-1] = '\0';
-                        t->entries[e].name=buff;
+                        t->entries[e].name=QString::fromUtf8(buff,-1);
                 }
         }       


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic