summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/history.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NewStory/src/history.cpp')
-rw-r--r--plugins/NewStory/src/history.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/plugins/NewStory/src/history.cpp b/plugins/NewStory/src/history.cpp
index b94fad88da..548c387501 100644
--- a/plugins/NewStory/src/history.cpp
+++ b/plugins/NewStory/src/history.cpp
@@ -831,11 +831,8 @@ public:
// break;
case WM_USER + 0x600:
- {
- time_t tm_jump = (time_t)wParam;
- if (tm_jump)
- m_histControl.SendMsg(NSM_SEEKTIME, tm_jump, 0);
- }
+ if (wParam)
+ m_histControl.SendMsg(NSM_SEEKTIME, wParam, 0);
}
return CDlgBase::DlgProc(msg, wParam, lParam);