diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/join.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/join.c b/src/join.c index e8544fb3a..34bdd1ce1 100644 --- a/src/join.c +++ b/src/join.c @@ -230,7 +230,7 @@ xfields (struct line *line) } } - if (ptr > line->beg && ((tab && ISSPACE (ptr[-1])) || ptr[-1] == tab)) + if (ptr > line->beg && ((!tab && ISSPACE (ptr[-1])) || ptr[-1] == tab)) { /* Add one more (empty) field because the last character of the line was a delimiter. */ |