From fb12ac5eb121b52697b994ff5350927e8f3721fe Mon Sep 17 00:00:00 2001 From: kelson42 Date: Sat, 26 Nov 2011 07:14:09 +0000 Subject: [PATCH] + small improvment of getMainPageUrl() --- src/common/kiwix/reader.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/kiwix/reader.cpp b/src/common/kiwix/reader.cpp index f6c5e5ca..22552052 100644 --- a/src/common/kiwix/reader.cpp +++ b/src/common/kiwix/reader.cpp @@ -128,6 +128,8 @@ namespace kiwix { if (url.empty()) { url = getFirstPageUrl(); } + } else { + url = getFirstPageUrl(); } return url;