changed argument type in displaycolor to color_t

This commit is contained in:
Zeno Rogue 2019-08-09 23:53:20 +02:00
parent f723a8d419
commit 9588dfcc50
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ EX namespace dialog {
addSelItem(body, ONOFF(value), key);
}
EX int displaycolor(unsigned col) {
EX int displaycolor(color_t col) {
int c = col >> 8;
if(!c) return 0x181818;
return c;