summaryrefslogtreecommitdiff
path: root/deskutils/kchmviewer-kde4/files/patch-src-xchmfile.cpp
blob: 8ad9bc4278aa1b791673acc688fbab97e23b5054 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/xchmfile.cpp.orig	Mon Jul 10 11:44:50 2006
+++ src/xchmfile.cpp	Mon Jul 10 11:45:49 2006
@@ -1278,7 +1278,7 @@
 		FIXENDIAN32(off_url);
 
 		if ( RetrieveObject ( &m_chmURLSTR, buf, off_url + 8, sizeof(buf) - 1) == 0 )
-			return false;
+			return QString::null;
 
 		buf[sizeof(buf) - 1] = '\0';
 		url = KCHMViewWindow::makeURLabsoluteIfNeeded ((const char*)buf);