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

List:       kde-commits
Subject:    kdegames
From:       Albert Astals Cid <tsdgeos () terra ! es>
Date:       2004-11-02 21:21:39
Message-ID: 20041102212139.2ADC216BDE () office ! kde ! org
[Download RAW message or body]

CVS commit by aacid: 

Please someone keep me out of icefox's scripts, doing changes like
- if (OKText != "")
+ if (OKText.isEmpty())
i don't help anybody, thanks Helge Deller for reporting the errors


  M +1 -1      kgoldrunner/src/kgrdialog.cpp   1.16
  M +1 -1      kpoker/kpoker.cpp   1.86


--- kdegames/kgoldrunner/src/kgrdialog.cpp  #1.15:1.16
@@ -190,5 +190,5 @@ KGrSLDialog::KGrSLDialog (int action, in
     default:            break;                  // Keep the default settings.
     }
-    if (OKText.isEmpty()) {
+    if (!OKText.isEmpty()) {
 #ifdef KGR_PORTABLE
         OK->setText (OKText);

--- kdegames/kpoker/kpoker.cpp  #1.85:1.86
@@ -645,5 +645,5 @@ void kpok::paintCash()
 void kpok::updateLHLabel()
 {
-  if (lastHandText.isEmpty())
+  if (!lastHandText.isEmpty())
     setHand(lastHandText);
   else if (getPlayers() > 1)


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

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