diff options
author | Werner Koch <wk@gnupg.org> | 2007-12-06 20:02:42 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2007-12-06 20:02:42 +0100 |
commit | e2aefc427e66577b62a1dfa6e8d75a4daaf49495 (patch) | |
tree | dead5b0a173d51fbab2ad4e1ece09255ffc52e36 /common/helpfile.c | |
parent | More code for the audit log. (diff) | |
download | gnupg2-e2aefc427e66577b62a1dfa6e8d75a4daaf49495.tar.xz gnupg2-e2aefc427e66577b62a1dfa6e8d75a4daaf49495.zip |
Add support for help stuff to audit.c
Diffstat (limited to 'common/helpfile.c')
-rw-r--r-- | common/helpfile.c | 5 |
1 files changed, 4 insertions, 1 deletions
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; } |