summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2012-12-18 14:54:08 +0000
committerManolo Gouy <Manolo>2012-12-18 14:54:08 +0000
commitfd2cc45334a4005b8880d0b9d5d8ae79e01bfe7b (patch)
tree5b75071425d032c2972558c8bfb5e8248e94a392 /src
parenta59ec3744d3a659b7c5715601369749d7f02368d (diff)
Mac OS text input support: Last change in Fl_Text_Display useless because HIGHLIGHT_MASK
is not used anymore for marked text.. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9764 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Text_Display.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Text_Display.cxx b/src/Fl_Text_Display.cxx
index 5f261c5b0..03be48e60 100644
--- a/src/Fl_Text_Display.cxx
+++ b/src/Fl_Text_Display.cxx
@@ -1943,7 +1943,7 @@ void Fl_Text_Display::draw_string(int style,
if (Fl::focus() == (Fl_Widget*)this) background = selection_color();
else background = fl_color_average(color(), selection_color(), 0.4f);
} else if (style & HIGHLIGHT_MASK) {
- if (Fl::focus() == (Fl_Widget*)this) background = fl_color_average(color(), selection_color(), Fl::compose_state ? 0.3f : 0.5f);
+ if (Fl::focus() == (Fl_Widget*)this) background = fl_color_average(color(), selection_color(), 0.5f);
else background = fl_color_average(color(), selection_color(), 0.6f);
} else background = color();
foreground = fl_contrast(styleRec->color, background);