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

List:       kde-commits
Subject:    Re: kdenonbeta/kio_mhtml
From:       Stephan Kulow <coolo () kde ! org>
Date:       2004-12-21 8:38:54
Message-ID: 200412210938.55472.coolo () kde ! org
[Download RAW message or body]

On Sunday 19 December 2004 14:59, Laurent Montel wrote:
> CVS commit by mlaurent:
>
> Fix "QCString length cache"
What has QCString to do with the code?
>
>
>   M +2 -1      kmhtmlarchive.cpp   1.6
>
>
> --- kdenonbeta/kio_mhtml/kmhtmlarchive.cpp  #1.5:1.6
> @@ -921,5 +921,6 @@ bool KmhtmlEntry::findItemByName(){
>  QString KmhtmlEntry::escapeString(QString str){
>          QString ret=QString::null;
> -        for(int i=0;(uint)i<str.length();i++){
> +        uint strLength= str.length();
> +        for(int i=0;(uint)i<strLength;i++){
>                  QChar c=str.at((uint)i);
>                  if(c==QChar('\\') || c==QChar('/') || c==QChar('(') ||
> c==QChar(')') ||

-- 
Pace Peace Paix Paz Frieden Pax Pokój Friður Fred Béke 和平
Hasiti Lapé Hetep Malu Mир Wolakota Santiphap Irini Peoch
Shanti Vrede Baris Rój Mír Taika Rongo Sulh Py'guapy 평화

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

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