Fix typo in join(1)

This was causing some mysterious output bugs.
Thanks, Wolfgang Corcoran-Mathe!
This commit is contained in:
FRIGN 2015-06-06 22:38:03 +02:00 committed by sin
parent 9e04a4fcdc
commit a6f8f66ac1

2
join.c
View File

@ -140,7 +140,7 @@ prjoin(struct line *la, struct line *lb, size_t jfa, size_t jfb)
for (i = 0; i < lb->nf; i++) {
if (i != jfb) {
prfield(&lb->fields[i]);
if (i < la->nf - 1)
if (i < lb->nf - 1)
prsep();
}
}