Remove useless if (...)

This commit is contained in:
Albrecht Schlosser 2022-09-01 17:12:10 +02:00
parent b75d7526fd
commit e0bf25d911

View File

@ -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;
}
}