summaryrefslogtreecommitdiff
path: root/textual.cc
diff options
context:
space:
mode:
Diffstat (limited to 'textual.cc')
-rw-r--r--textual.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/textual.cc b/textual.cc
index d2685a00..b9533886 100644
--- a/textual.cc
+++ b/textual.cc
@@ -477,7 +477,8 @@ unsigned int parse_textual_journal(std::istream& in, journal_t * journal,
in >> opt;
in.getline(line, MAX_LINE);
linenum++;
- process_option(opt, line + 1);
+ char * p = skip_ws(line);
+ process_option(opt, *p == '\n' ? NULL : p);
break;
}