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

List:       kde-commits
Subject:    KDE/kdelibs/kdecore/kconfig_compiler
From:       Michel Hermier <michel.hermier () wanadoo ! fr>
Date:       2006-10-31 0:07:16
Message-ID: 1162253236.662619.29162.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 600565 by hermier:

Fix compilation (introduced in #600538)

 M  +2 -2      kconfig_compiler.cpp  


--- trunk/KDE/kdelibs/kdecore/kconfig_compiler/kconfig_compiler.cpp #600564:600565
@@ -306,8 +306,8 @@
 
 static void addQuotes( QString &s )
 {
-  if ( !s.startsWith( '"' ) s.prepend( '"' );
-  if ( !s.endsWith( '"' ) s.append( '"' );
+  if ( !s.startsWith( '"' ) ) s.prepend( '"' );
+  if ( !s.endsWith( '"' ) ) s.append( '"' );
 }
 
 static QString quoteString( const QString &s )
[prev in list] [next in list] [prev in thread] [next in thread] 

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