diff options
Diffstat (limited to 'ttt.c')
| -rw-r--r-- | ttt.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -37,7 +37,7 @@ #define TASK_NAME_LENGTH 57 // Task name length. #define TASK_NAME_BYTES (TASK_NAME_LENGTH+1) #define FIRST_DAY_OF_WEEK 1 // (0-6, Sunday = 0). -#define NUM_WEEK_DAYS 7 // Just to avoid magic numbers. +#define NUM_WEEK_DAYS 7 // Just to be more clear about what we're looping about. #if defined(_WIN64) #define HOME_PATH_ENV "USERPROFILE" @@ -107,7 +107,7 @@ time_t error_time_limit = 0; void print_error(const char *format, ...) { va_list args; va_start(args, format); - if (stdscr == NULL || isendwin() == true) { // Not in ncurses mode. + if (stdscr == NULL || isendwin() == true) { // Not in ncurses mode? vfprintf(stderr, format, args); fprintf(stderr, "\n"); } |
