aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2010-06-26 00:06:06 +0000
committernyamatongwe <unknown>2010-06-26 00:06:06 +0000
commit33af0cdef8e363d1c68e3658169b5870e7b44503 (patch)
tree5097de29737b961504a33797915d900769c3f787 /src/Editor.cxx
parentc9672172dc7d26fb18098976863e83dd60e46760 (diff)
downloadscintilla-mirror-33af0cdef8e363d1c68e3658169b5870e7b44503.tar.gz
Fix for bug #3021473, indicator fill alpha capped at 100.
Diffstat (limited to 'src/Editor.cxx')
-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();
}