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

List:       kde-commits
Subject:    KDE/kdebase/runtime/kioslave/man
From:       Martin Koller <kollix () aon ! at>
Date:       2011-01-02 13:10:32
Message-ID: 20110102131032.5BD90AC8AE () svn ! kde ! org
[Download RAW message or body]

SVN commit 1210851 by mkoller:

Fix off-by-one bug to now correctly have #include <xxx.h> text shown with a clickable link


 M  +1 -1      man2html.cpp  


--- trunk/KDE/kdebase/runtime/kioslave/man/man2html.cpp #1210850:1210851
@@ -729,7 +729,7 @@
             if (g!=c) {
 
                 QByteArray dir;
-                QByteArray file(g, h - g + 1);
+                QByteArray file(g, h - g);
                 file = file.trimmed();
                 for (int index = 0; includedirs[index]; index++) {
                     QByteArray str( includedirs[index] );
[prev in list] [next in list] [prev in thread] [next in thread] 

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