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

List:       kde-commits
Subject:    branches/KDE/3.5/kdewebdev/lib
From:       Andras Mantia <amantia () kde ! org>
Date:       2008-01-26 16:48:39
Message-ID: 1201366119.958160.21283.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 766788 by amantia:

link handling fix that I have on my machine since some time.

 M  +1 -1      qextfileinfo.cpp  


--- branches/KDE/3.5/kdewebdev/lib/qextfileinfo.cpp #766787:766788
@@ -503,7 +503,7 @@
         KURL u = item->url();
         QString linkDest = item->linkDest();
         kdDebug(24000) << "Got link: " << name << " Points to:" << linkDest << endl;
-        if (linkDest.startsWith("."))
+        if (linkDest.startsWith("./") || linkDest.startsWith("../") )
         {
           u.setPath(u.directory(false, true) + linkDest);
           u.cleanPath();
[prev in list] [next in list] [prev in thread] [next in thread] 

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