diff options
author | Mook <marky@activestate.com> | 2013-02-25 15:20:58 -0800 |
---|---|---|
committer | Mook <marky@activestate.com> | 2013-02-25 15:20:58 -0800 |
commit | c6d4cd5d9f42251c20cfc9c80ac80389a39abfbe (patch) | |
tree | 617539076499c039e0504bf5c264ab4c067728a4 /src | |
parent | e6e91e20e83079fc3ccc14277b6c93dcb7fd30d6 (diff) | |
download | scintilla-mirror-c6d4cd5d9f42251c20cfc9c80ac80389a39abfbe.tar.gz |
Editor: SCI_LINESCROLL: treat columns as signed
Diffstat (limited to 'src')
-rw-r--r-- | src/Editor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index e5c997cf4..8ad36ef33 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -7414,7 +7414,7 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) { case SCI_LINESCROLL: ScrollTo(topLine + lParam); - HorizontalScrollTo(xOffset + wParam * vs.spaceWidth); + HorizontalScrollTo(xOffset + static_cast<int>(wParam) * vs.spaceWidth); return 1; case SCI_SETXOFFSET: |