aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ttt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ttt.c b/ttt.c
index 0ec4355..d4cfb29 100644
--- a/ttt.c
+++ b/ttt.c
@@ -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");
}