Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
odt.cpp: Start from the last character in the page title and not the null character
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 2 Sep 2018 20:13:22 +0000 (21:13 +0100)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 2 Sep 2018 20:13:22 +0000 (21:13 +0100)
source/tools/odthelpbrowser/odt.cpp

index 3ce4456..7e08b1f 100644 (file)
@@ -134,7 +134,7 @@ namespace ODT
                        
                        int deletePageNumberCount = 0;
                        
-                       for (std::string::iterator pageTitleIter = pageTitle.end(); 
+                       for (std::string::iterator pageTitleIter = pageTitle.end() - 1
                                pageTitleIter != pageTitle.begin();
                                pageTitleIter--)
                        {
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy