300 // Warn about the unknown colors, but only once. |
300 // Warn about the unknown colors, but only once. |
301 for (short i : g_warnedColors) |
301 for (short i : g_warnedColors) |
302 if (obj->color() == i) |
302 if (obj->color() == i) |
303 return; |
303 return; |
304 |
304 |
305 print ("%1: Unknown color %2!\n", __func__, obj->color()); |
305 log ("%1: Unknown color %2!\n", __func__, obj->color()); |
306 g_warnedColors << obj->color(); |
306 g_warnedColors << obj->color(); |
307 return; |
307 return; |
308 } |
308 } |
309 } |
309 } |
310 |
310 |