aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2016-07-08 22:43:06 +0200
committerJavier <dev.git@javispedro.com>2016-07-08 22:43:06 +0200
commit6e2efea0f43d8e5bb4eb40b16a0281de342f003b (patch)
tree1cf2c0ecb0ea64f8410d9c37b48fc5020ca3e1d2
parentea34246e769c30f5257d37ad53bb5defc04bb00b (diff)
downloadscribiu-6e2efea0f43d8e5bb4eb40b16a0281de342f003b.tar.gz
scribiu-6e2efea0f43d8e5bb4eb40b16a0281de342f003b.zip
fix issue parsing notebook guid
-rw-r--r--afdnotebook.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/afdnotebook.cc b/afdnotebook.cc
index 56a3749..eaff949 100644
--- a/afdnotebook.cc
+++ b/afdnotebook.cc
@@ -245,7 +245,7 @@ bool AfdNotebook::parseMainInfo()
}
_title = info["title"];
- _guid = info["guid"].mid(3).toULongLong(0, 16);
+ _guid = info["guid"].mid(2).toULongLong(0, 16);
_firstPage = AfdPageAddress(info["pagestart"]);
_lastPage = AfdPageAddress(info["pagestop"]);
_pagesPerBook = info.value("segment-pages-per-book", "108").toUInt();