diff options
Diffstat (limited to 'sys/ddb/db_output.c')
-rw-r--r-- | sys/ddb/db_output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ddb/db_output.c b/sys/ddb/db_output.c index e9f0c82..a349241 100644 --- a/sys/ddb/db_output.c +++ b/sys/ddb/db_output.c @@ -304,8 +304,8 @@ db_iprintf(fmt) * End line if too long. */ void -db_end_line() +db_end_line(int field_width) { - if (db_output_position >= db_max_width) + if (db_output_position + field_width > db_max_width) db_printf("\n"); } |