Do not use negative values for task state since it is used as array index

This commit is contained in:
o9000
2016-01-03 02:44:14 +01:00
parent 0992662396
commit 1ff868fdb7
2 changed files with 3 additions and 2 deletions

View File

@@ -18,6 +18,7 @@ typedef enum TaskState {
TASK_ACTIVE,
TASK_ICONIFIED,
TASK_URGENT,
TASK_UNDEFINED,
TASK_STATE_COUNT,
} TaskState;