-rw-r--r-- | noncore/apps/opie-reader/Navigation.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/apps/opie-reader/Navigation.cpp b/noncore/apps/opie-reader/Navigation.cpp index 7b392ba..4f11887 100644 --- a/noncore/apps/opie-reader/Navigation.cpp +++ b/noncore/apps/opie-reader/Navigation.cpp | |||
@@ -1,6 +1,8 @@ | |||
1 | #include "Navigation.h" | 1 | #include "Navigation.h" |
2 | 2 | ||
3 | #include <string.h> | ||
4 | |||
3 | void CNavigation::saveposn(size_t posn) | 5 | void CNavigation::saveposn(size_t posn) |
4 | { | 6 | { |
5 | // qDebug("Saved:%u [%u,%u,%u]", posn, historystart, historycurrent, historyend); | 7 | // qDebug("Saved:%u [%u,%u,%u]", posn, historystart, historycurrent, historyend); |
6 | historycurrent = historyend = (historycurrent+1)%NAVIGATION_HISTORY_SIZE; | 8 | historycurrent = historyend = (historycurrent+1)%NAVIGATION_HISTORY_SIZE; |