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

List:       kde-commits
Subject:    kdenetwork/librss
From:       Frerich Raabe <raabe () kde ! org>
Date:       2004-12-14 17:00:54
Message-ID: 20041214170054.B8DB51B4A5 () office ! kde ! org
[Download RAW message or body]

CVS commit by raabe: 

- Skip Unicode whitespace, too (backporting this fix from aKregator's librss
  fork)


  M +1 -2      loader.cpp   1.12


--- kdenetwork/librss/loader.cpp  #1.11:1.12
@@ -251,6 +251,5 @@ void Loader::slotRetrieverDone(const QBy
                 int len = data.count();
 
-                while (len && (*charData == ' ' || *charData == '\n' ||
-                               *charData == '\t' || *charData == '\r')) {
+                while (len && QChar(*charData).isSpace()) {
                         --len;
                         ++charData;


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

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