diff options
author | George Hazan <ghazan@miranda.im> | 2020-04-23 21:24:41 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-04-23 21:24:41 +0300 |
commit | 38418bfefb15124e9f40a8b4c47e12ac7a1680a4 (patch) | |
tree | 444fd34c537b96f0891e8cdf3d317c41cbca15f3 /plugins/NewStory/src/history.cpp | |
parent | 89853e9b3720c63fcc9a84967509795ad42d811d (diff) |
minor code cleaning
Diffstat (limited to 'plugins/NewStory/src/history.cpp')
-rw-r--r-- | plugins/NewStory/src/history.cpp | 7 |
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); |