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

List:       kde-commits
Subject:    KDE/kdepim/plugins/kmail/bodypartformatter
From:       Arto Hytönen <amthpublic () gmail ! com>
Date:       2007-08-14 6:00:08
Message-ID: 1187071208.731426.2572.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 699860 by amth:

Simple single character QString fixes as suggested by Krazy issue 6.


 M  +2 -2      text_xdiff.cpp  


--- trunk/KDE/kdepim/plugins/kmail/bodypartformatter/text_xdiff.cpp #699859:699860
@@ -107,9 +107,9 @@
             style = fileAddStyle;
           } else if ( line.startsWith( "---" ) ) {
             style = fileRemoveStyle;
-          } else if ( line.startsWith( "+" ) || line.startsWith( ">" ) ) {
+          } else if ( line.startsWith( '+' ) || line.startsWith( '>' ) ) {
             style = addedLineStyle;
-          } else if ( line.startsWith( "-" ) || line.startsWith( "<" ) ) {
+          } else if ( line.startsWith( '-' ) || line.startsWith( '<' ) ) {
             style = removedLineStyle;
           } else if ( line.startsWith( "==") ) {
             style = sepStyle;
[prev in list] [next in list] [prev in thread] [next in thread] 

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