summaryrefslogtreecommitdiff
path: root/ddb/db_output.c
diff options
context:
space:
mode:
Diffstat (limited to 'ddb/db_output.c')
-rw-r--r--ddb/db_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ddb/db_output.c b/ddb/db_output.c
index be5319d..a34e807 100644
--- a/ddb/db_output.c
+++ b/ddb/db_output.c
@@ -146,7 +146,7 @@ db_putchar(int c) /* character to output */
cnputc(c);
db_output_position++;
if (db_max_width >= DB_MIN_MAX_WIDTH
- && db_output_position >= db_max_width-1) {
+ && db_output_position >= db_max_width) {
/* auto new line */
cnputc('\n');
db_output_position = 0;