sbase

suckless unix tools
git clone git://git.2f30.org/sbase
Log | Files | Refs | README | LICENSE

commit a6f8f66ac121f03e36e6793d8b89ff3cbc4ee687
parent 9e04a4fcdc394b82b290b5dc6c825c17340b705f
Author: FRIGN <dev@frign.de>
Date:   Sat,  6 Jun 2015 22:38:03 +0200

Fix typo in join(1)

This was causing some mysterious output bugs.
Thanks, Wolfgang Corcoran-Mathe!

Diffstat:
Mjoin.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/join.c b/join.c @@ -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(); } }