[hackers] [sbase] nl: Fix leading white-space || sin

From: <git_AT_suckless.org>
Date: Mon, 23 Mar 2015 18:35:49 +0100 (CET)

commit 7d537866ef5ee7dc6914a7b762085a1c36703c7a
Author: sin <sin_AT_2f30.org>
Date: Sun Mar 22 19:23:57 2015 +0000

    nl: Fix leading white-space

diff --git a/nl.c b/nl.c
index e705d2d..3a1e041 100644
--- a/nl.c
+++ b/nl.c
_AT_@ -66,7 +66,7 @@ nl(const char *fname, FILE *fp)
                                 donumber = 1;
                         break;
                 case 'p':
- if (!regexec(preg + section, buf, 0, NULL, 0))
+ if (!regexec(preg + section, buf, 0, NULL, 0))
                                 donumber = 1;
                         break;
                 case 'a':
Received on Mon Mar 23 2015 - 18:35:49 CET

This archive was generated by hypermail 2.3.0 : Mon Mar 23 2015 - 18:36:21 CET