diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2022-09-01 17:12:10 +0200 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2022-09-01 17:12:10 +0200 |
| commit | e0bf25d91127eb45428f14cb6dbbbd02956acd45 (patch) | |
| tree | 6bf5df50a1daad567c435ae07f7b7e5dd5680bf7 | |
| parent | b75d7526fde03a9a831fd21afa38efeaa5d55a24 (diff) | |
Remove useless if (...)
| -rw-r--r-- | src/Fl_Graphics_Driver.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/Fl_Graphics_Driver.cxx b/src/Fl_Graphics_Driver.cxx index 5ba7853e0..159a76b65 100644 --- a/src/Fl_Graphics_Driver.cxx +++ b/src/Fl_Graphics_Driver.cxx @@ -137,9 +137,7 @@ void Fl_Graphics_Driver::global_gc() /** see Fl::set_color(Fl_Color, unsigned) */ void Fl_Graphics_Driver::set_color(Fl_Color i, unsigned c) { - if (fl_cmap[i] != c) { fl_cmap[i] = c; - } } |
