From: Michael Stapelberg Date: Mon, 27 Jul 2015 20:29:44 +0000 (+0200) Subject: Improve error message for clarity. X-Git-Tag: 4.11~74 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=86cc7d9a2199128d4eb70fbfe16d6bd188bfa157;p=i3%2Fi3 Improve error message for clarity. --- diff --git a/src/config_parser.c b/src/config_parser.c index 3fd4e09a..9a0d1925 100644 --- a/src/config_parser.c +++ b/src/config_parser.c @@ -863,7 +863,7 @@ bool parse_file(const char *f, bool use_nagbar) { die("Could not read configuration file\n"); } if (buffer[strlen(buffer) - 1] != '\n') { - ELOG("Use continuation with too many lines\n"); + ELOG("Your line continuation is too long, it exceeds %zd bytes\n", sizeof(buffer)); } continuation = strstr(buffer, "\\\n"); if (continuation) {