diff options
author | Javier <dev.git@javispedro.com> | 2016-07-08 22:43:06 +0200 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2016-07-08 22:43:06 +0200 |
commit | 6e2efea0f43d8e5bb4eb40b16a0281de342f003b (patch) | |
tree | 1cf2c0ecb0ea64f8410d9c37b48fc5020ca3e1d2 | |
parent | ea34246e769c30f5257d37ad53bb5defc04bb00b (diff) | |
download | scribiu-6e2efea0f43d8e5bb4eb40b16a0281de342f003b.tar.gz scribiu-6e2efea0f43d8e5bb4eb40b16a0281de342f003b.zip |
fix issue parsing notebook guid
-rw-r--r-- | afdnotebook.cc | 2 |
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(); |