diff options
author | NIIBE Yutaka <[email protected]> | 2017-04-12 05:47:30 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2017-04-12 05:47:30 +0000 |
commit | 7b4edf14bb16fbe786e55b829a208960396ce8df (patch) | |
tree | 96cb9123e8f42a7400143e27b3fd301f8bdb1acf /g10/gpgcompose.c | |
parent | gpgscm: Fix test program. (diff) | |
download | gnupg-7b4edf14bb16fbe786e55b829a208960396ce8df.tar.gz gnupg-7b4edf14bb16fbe786e55b829a208960396ce8df.zip |
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 <[email protected]>
Diffstat (limited to 'g10/gpgcompose.c')
-rw-r--r-- | g10/gpgcompose.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |