From 365372ae37ff830f4456dc3594d0856f7842c25d Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 30 Nov 2009 08:16:44 +0000 Subject: fix --- src/util/getopt_helpers.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/util/getopt_helpers.c') diff --git a/src/util/getopt_helpers.c b/src/util/getopt_helpers.c index d3a598626..9821aca89 100644 --- a/src/util/getopt_helpers.c +++ b/src/util/getopt_helpers.c @@ -87,7 +87,10 @@ GNUNET_GETOPT_format_help_ (struct GNUNET_GETOPT_CommandLineProcessorContext printf ("%*s", (int) (BORDER - slen), ""); slen = BORDER; } - trans = gettext (opt[i].description); + if (0 < strlen (opt[i].description)) + trans = gettext (opt[i].description); + else + trans = ""; ml = strlen (trans); p = 0; OUTER: -- cgit v1.2.3