summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
Diffstat (limited to 'Src')
-rw-r--r--Src/builtin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/builtin.c b/Src/builtin.c
index b17b6d4aa..de1cb68e4 100644
--- a/Src/builtin.c
+++ b/Src/builtin.c
@@ -3774,7 +3774,7 @@ bin_print(char *name, char **args, Options ops, int func)
 			flen = c - fmt + 1;
 			fmttrunc = 1;
 		    }
-		} else
+		} else if (width)
 		    count += fprintf(fout, "%*c", width, ' ');
 		break;
 	    case 'q':