mirror of
https://github.com/fltk/fltk.git
synced 2026-06-04 23:42:15 +08:00
Fix more compiler warnings.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11536 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -432,7 +432,7 @@ void CodeViewer::draw()
|
||||
{
|
||||
// Tricking Fl_Text_Display into using bearable colors for this specific task
|
||||
Fl_Color c = Fl::get_color(FL_SELECTION_COLOR);
|
||||
Fl::set_color(FL_SELECTION_COLOR, fl_color_average(FL_BACKGROUND_COLOR, FL_FOREGROUND_COLOR, 0.9));
|
||||
Fl::set_color(FL_SELECTION_COLOR, fl_color_average(FL_BACKGROUND_COLOR, FL_FOREGROUND_COLOR, 0.9f));
|
||||
CodeEditor::draw();
|
||||
Fl::set_color(FL_SELECTION_COLOR, c);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user