aboutsummaryrefslogtreecommitdiffstats
path: root/src/calendar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/calendar.c')
-rw-r--r--src/calendar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/calendar.c b/src/calendar.c
index b852b1c..e656525 100644
--- a/src/calendar.c
+++ b/src/calendar.c
@@ -596,9 +596,9 @@ static char* sub_get_msg(struct state_s *s)
}
}
- if (c == opt_line_delim() || c == opt_col_delim()) {
+ if (c == opt_line_term() || c == opt_col_delim()) {
sub_set_pos(s, sub_get_pos(s));
- ERRP("message may not contain line or column delimiter characters");
+ ERRP("message may not contain column delimiter or line terminator");
s->err_flag = true;
free(msg);
return NULL;