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

List:       kde-commits
Subject:    branches/KDE/3.4/kdegames/libkdegames/highscore
From:       Heinrich Wendel <h_wendel () cojobo ! net>
Date:       2005-06-30 19:15:57
Message-ID: 1120158957.567429.14857.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 430291 by lanius:

fix compilation if HIGHSCORE_DIRECTORY is not set

 M  +1 -1      kexthighscore_internal.cpp  


--- branches/KDE/3.4/kdegames/libkdegames/highscore/kexthighscore_internal.cpp #430290:430291
@@ -281,9 +281,9 @@
     addItem("max lost trend", new Item((uint)0), true, true);
     addItem("max won trend", new Item((uint)0), true, true);
 
-#ifdef HIGHSCORE_DIRECTORY
     struct passwd *pwd = getpwuid(getuid());
     QString username = pwd->pw_name;
+#ifdef HIGHSCORE_DIRECTORY
     internal->hsConfig().setHighscoreGroup("players");
     for (uint i=0; ;i++) {
         if ( !internal->hsConfig().hasEntry(i+1, "username") ) {
[prev in list] [next in list] [prev in thread] [next in thread] 

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