aboutsummaryrefslogtreecommitdiff
path: root/src/Body.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Body.cpp')
-rw-r--r--src/Body.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Body.cpp b/src/Body.cpp
index b3ec7e1..4ab90f3 100644
--- a/src/Body.cpp
+++ b/src/Body.cpp
@@ -958,7 +958,7 @@ namespace QuickMedia {
item_background.draw(window);
}
- int index;
+ int index = -1;
if(attach_side == AttachSide::TOP) {
if(page_scroll > 0.0)
page_scroll = 0.0;