common: Simplify format_text.
authorNIIBE Yutaka <gniibe@fsij.org>
Wed, 12 Apr 2017 05:47:30 +0000 (14:47 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Wed, 12 Apr 2017 05:47:30 +0000 (14:47 +0900)
commit7b4edf14bb16fbe786e55b829a208960396ce8df
tree96cb9123e8f42a7400143e27b3fd301f8bdb1acf
parent7f9032d4a8ce53ce1a972bd3c1f8d20b3776756b
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 <gniibe@fsij.org>
common/stringhelp.c
common/stringhelp.h
common/t-stringhelp.c
g10/gpgcompose.c
g10/tofu.c