aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2010-06-26 00:06:06 +0000
committernyamatongwe <devnull@localhost>2010-06-26 00:06:06 +0000
commit2956e6259b63bbe72db92286a4a3e16d63ebfac5 (patch)
tree5097de29737b961504a33797915d900769c3f787 /src
parente567a0d1f146f412a14709e84420334f7febfbcd (diff)
downloadscintilla-mirror-2956e6259b63bbe72db92286a4a3e16d63ebfac5.tar.gz
Fix for bug #3021473, indicator fill alpha capped at 100.
Diffstat (limited to 'src')
-rw-r--r--src/Editor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 2bc6580cc..69c83f388 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -7963,7 +7963,7 @@ sptr_t Editor::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam) {
return (wParam <= INDIC_MAX) ? vs.indicators[wParam].under : 0;
case SCI_INDICSETALPHA:
- if (wParam <= INDIC_MAX && lParam >=0 && lParam <= 100) {
+ if (wParam <= INDIC_MAX && lParam >=0 && lParam <= 255) {
vs.indicators[wParam].fillAlpha = lParam;
InvalidateStyleRedraw();
}