Avoid confusing colors for "Unlabeled0" labels
This commit is contained in:
parent
a94a56a4ba
commit
591fe17609
@ -194,6 +194,9 @@ get_task_type_gid(const char *label)
|
|||||||
/* Use non-negative values */
|
/* Use non-negative values */
|
||||||
gid &= 0x7FFFFFFF;
|
gid &= 0x7FFFFFFF;
|
||||||
|
|
||||||
|
/* Avoid bad colors for "Unlabeled0" */
|
||||||
|
gid += 123;
|
||||||
|
|
||||||
if(gid == 0)
|
if(gid == 0)
|
||||||
gid++;
|
gid++;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user