commit d0269af73e099e4f7dc80e40ce00ed554c4fa35a
Author:     FRIGN <d...@frign.de>
AuthorDate: Sun Jun 21 15:57:32 2015 +0200
Commit:     sin <s...@2f30.org>
CommitDate: Mon Jun 22 20:03:55 2015 +0100

    Remove debug-code in printf(1)

diff --git a/printf.c b/printf.c
index d5d852d..72cbe46 100644
--- a/printf.c
+++ b/printf.c
@@ -50,7 +50,7 @@ main(int argc, char *argv[])
 
                /* flag */
                for (flag = '\0', i++; strchr("#-+ 0", format[i]); i++) {
-                       if (!flag) flag = format[i];
+                       flag = format[i];
                }
 
                /* field width */

Reply via email to