From 7b4edf14bb16fbe786e55b829a208960396ce8df Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Wed, 12 Apr 2017 14:47:30 +0900 Subject: common: Simplify format_text. * common/stringhelp.c (format_text): Don't allow IN_PLACE formatting. * common/stringhelp.h: Change the API with no IN_PLACE. * common/t-stringhelp.c (test_format_text): Follow the change. * g10/gpgcompose.c (show_help): Likewise. * g10/tofu.c (format_conflict_msg_part1, ask_about_binding) (show_statistics, show_warning): Likewise. Signed-off-by: NIIBE Yutaka --- g10/gpgcompose.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g10/gpgcompose.c') diff --git a/g10/gpgcompose.c b/g10/gpgcompose.c index d5855029d..071d6bf45 100644 --- a/g10/gpgcompose.c +++ b/g10/gpgcompose.c @@ -305,7 +305,7 @@ show_help (struct option options[]) if (! option) space = 72; - formatted = format_text (tmp, 0, space, space + 4); + formatted = format_text (tmp, space, space + 4); if (tmp != help) xfree (tmp); -- cgit v1.2.3