--- kdebase-3.5.7-orig/kioslave/man/man2html.cpp 2007-06-25 15:10:27 +0400
+++ kdebase-3.5.7-orig/kioslave/man/man2html.cpp 2007-06-25 16:33:20 +0400
@@ -1621,6 +1621,7 @@
QCString number;
if ( *c != '\'' )
return "";
+ c++; // move to next character
while ( *c && ( *c != '\n' ) && ( *c != '\'' ) )
{
number += *c;
@@ -1640,6 +1641,7 @@
number.prepend( "" );
number.append( ";" );
curpos ++;
+ c++; // successful, ignore closing quote (') on next step
return number;
}