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:
Albrecht Schlosser
2016-04-05 21:15:45 +00:00
parent f0f41708a4
commit 020a96b4a8
7 changed files with 12 additions and 10 deletions
+1 -1
View File
@@ -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);
}