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

List:       kde-commits
Subject:    kdelibs/khtml/misc
From:       Antonio Larrosa Jimenez <larrosa () kde ! org>
Date:       2003-02-24 22:35:26
[Download RAW message or body]

CVS commit by antlarr: 

Yes, I'm paranoid
- if(out[out.length()-1] == QChar::null)
+ if( out[out.length()-1].isNull() )


  M +2 -2      decoder.cpp   1.63


--- kdelibs/khtml/misc/decoder.cpp  #1.62:1.63
@@ -569,5 +569,5 @@ QString Decoder::decode(const char *data
     // the hell knows, why the output does sometimes have a QChar::null at
     // the end...
-    if(out[out.length()-1] == QChar::null)
+    if( out[out.length()-1].isNull() )
         assert(0);
     return out;


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

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