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 | 124b2f79616f21eb4189a45bead308c628b56242 (patch) | |
tree | 68f3bd9a2d1eca34f8bd3e411a4baf2a43a032e6 /src | |
parent | c73567a8b582af6150c24cf54aa731e2ff8cbf96 (diff) | |
download | scintilla-mirror-124b2f79616f21eb4189a45bead308c628b56242.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: |