Summary:
Have a sence. It is hard to assume that more that 16 million color will be used.
@fix
CID: 1339790
Reviewers: raster, cedric
Reviewed By: cedric
Differential Revision: https://phab.enlightenment.org/D3347
Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
GET_NEXT_COLOR
}
- if ((red == 255) && (green == 255) && (blue == 255))
- {
- ERR("Overfill number of color. %d %s", __LINE__, __FILE__);
- red = green = blue = 0;
- }
-
color->r = (double)red / 255;
color->g = (double)green / 255;
color->b = (double)blue / 255;