diff options
Diffstat (limited to 'src/macros.h')
-rw-r--r-- | src/macros.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/macros.h b/src/macros.h index 571fed0a7e..8c0e04a56c 100644 --- a/src/macros.h +++ b/src/macros.h @@ -336,3 +336,6 @@ (p) = NULL; \ } \ } while (0) + +/* Wether a command index indicates a user command. */ +#define IS_USER_CMDIDX(idx) ((int)(idx) < 0) |