diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-11-30 08:16:44 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-11-30 08:16:44 +0000 |
commit | 365372ae37ff830f4456dc3594d0856f7842c25d (patch) | |
tree | c4c60575dac7a0f2084ffb4f68ecfd30cec4caf6 /src/util/getopt_helpers.c | |
parent | 75744957ece44baaceb0809a0e8e68a04f4759d1 (diff) | |
download | gnunet-365372ae37ff830f4456dc3594d0856f7842c25d.tar.gz gnunet-365372ae37ff830f4456dc3594d0856f7842c25d.zip |
fix
Diffstat (limited to 'src/util/getopt_helpers.c')
-rw-r--r-- | src/util/getopt_helpers.c | 5 |
1 files changed, 4 insertions, 1 deletions
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 | |||
87 | printf ("%*s", (int) (BORDER - slen), ""); | 87 | printf ("%*s", (int) (BORDER - slen), ""); |
88 | slen = BORDER; | 88 | slen = BORDER; |
89 | } | 89 | } |
90 | trans = gettext (opt[i].description); | 90 | if (0 < strlen (opt[i].description)) |
91 | trans = gettext (opt[i].description); | ||
92 | else | ||
93 | trans = ""; | ||
91 | ml = strlen (trans); | 94 | ml = strlen (trans); |
92 | p = 0; | 95 | p = 0; |
93 | OUTER: | 96 | OUTER: |