From e2aefc427e66577b62a1dfa6e8d75a4daaf49495 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 6 Dec 2007 19:02:42 +0000 Subject: Add support for help stuff to audit.c --- common/helpfile.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'common/helpfile.c') diff --git a/common/helpfile.c b/common/helpfile.c index 3a98055bb..34b6bdc4e 100644 --- a/common/helpfile.c +++ b/common/helpfile.c @@ -254,6 +254,9 @@ gnupg_get_help_string (const char *key, int only_current_locale) if (!result) result = findkey_locale (key, locname, only_current_locale, gnupg_datadir ()); - + + if (result) + trim_trailing_spaces (result); + return result; } -- cgit v1.2.3