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

List:       kde-commits
Subject:    branches/koffice/1.6/koffice/lib/kotext
From:       Thomas Zander <zander () kde ! org>
Date:       2006-07-30 16:34:51
Message-ID: 1154277291.197926.7933.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 567937 by zander:

make more readable

 M  +1 -1      KoTextParag.cpp  


--- branches/koffice/1.6/koffice/lib/kotext/KoTextParag.cpp #567936:567937
@@ -2706,7 +2706,7 @@
         QCharRef ch = text[r];
 
         // check for space, tab, line feed, carriage return
-        if ( ch == 0x0020 || ch == 0x0009 ||ch == 0x000A ||  ch == 0x000D)
+        if ( ch == ' ' || ch == '\t' ||ch == '\r' ||  ch == '\n')
         {
             // if we were lead by whitespace in some parent or previous sibling element,
             // we completely collapse this space
[prev in list] [next in list] [prev in thread] [next in thread] 

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