Do not use negative values for task state since it is used as array index
This commit is contained in:
@@ -18,6 +18,7 @@ typedef enum TaskState {
|
||||
TASK_ACTIVE,
|
||||
TASK_ICONIFIED,
|
||||
TASK_URGENT,
|
||||
TASK_UNDEFINED,
|
||||
TASK_STATE_COUNT,
|
||||
} TaskState;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user