summaryrefslogtreecommitdiffstats
path: root/common/helpfile.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2007-12-06 20:02:42 +0100
committerWerner Koch <wk@gnupg.org>2007-12-06 20:02:42 +0100
commite2aefc427e66577b62a1dfa6e8d75a4daaf49495 (patch)
treedead5b0a173d51fbab2ad4e1ece09255ffc52e36 /common/helpfile.c
parentMore code for the audit log. (diff)
downloadgnupg2-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.c5
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;
}