From 6c92c339539ec87dc12783e9c8f1688a4a370c03 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Thu, 30 Dec 2021 09:46:02 -0700 Subject: Convert wrap_here to use integer parameter I think it only really makes sense to call wrap_here with an argument consisting solely of spaces. Given this, it seemed better to me that the argument be an int, rather than a string. This patch is the result. Much of it was written by a script. --- gdb/guile/scm-pretty-print.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/guile') diff --git a/gdb/guile/scm-pretty-print.c b/gdb/guile/scm-pretty-print.c index 77f9b0a..814a7e7 100644 --- a/gdb/guile/scm-pretty-print.c +++ b/gdb/guile/scm-pretty-print.c @@ -861,7 +861,7 @@ ppscm_print_children (SCM printer, enum display_hint hint, print_spaces_filtered (2 + 2 * recurse, stream); } else - wrap_here (n_spaces (2 + 2 *recurse)); + wrap_here (2 + 2 *recurse); } if (is_map && i % 2 == 0) -- cgit v1.1