summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/history_control.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NewStory/src/history_control.cpp')
-rw-r--r--plugins/NewStory/src/history_control.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/NewStory/src/history_control.cpp b/plugins/NewStory/src/history_control.cpp
index fdf43124b0..2bc48a8adc 100644
--- a/plugins/NewStory/src/history_control.cpp
+++ b/plugins/NewStory/src/history_control.cpp
@@ -750,9 +750,9 @@ void NewstoryListData::ScrollDown(int deltaY)
}
if (!bFound)
scrollTopItem = scrollTopPixel = 0;
- FixScrollPosition();
}
+ FixScrollPosition();
InvalidateRect(m_hwnd, 0, FALSE);
}
@@ -786,10 +786,9 @@ void NewstoryListData::ScrollUp(int deltaY)
if (!bFound)
scrollTopItem = scrollTopPixel = 0;
-
- FixScrollPosition();
}
+ FixScrollPosition();
InvalidateRect(m_hwnd, 0, FALSE);
}