aboutsummaryrefslogtreecommitdiffstats
path: root/common/helpfile.c
diff options
context:
space:
mode:
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;
}