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

List:       kde-commits
Subject:    KDE/kdelibs/kabc/scripts
From:       David Faure <faure () kde ! org>
Date:       2005-12-30 23:03:10
Message-ID: 1135983790.071890.21472.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 492746 by dfaure:

doh, "is" was missing.
And Andre' is right, the first if checks that the lists have the same length already;
the code just seemed to lack some symmetry :)


 M  +1 -1      addressee.src.cpp  


--- trunk/KDE/kdelibs/kabc/scripts/addressee.src.cpp #492745:492746
@@ -1090,7 +1090,7 @@
   if ( list.count() != pattern.count() )
     return false;
 
-  if ( list.Empty() || pattern.isEmpty() )
+  if ( list.isEmpty() )
     return true;
 
   if ( list.first() != pattern.first() )
[prev in list] [next in list] [prev in thread] [next in thread] 

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