gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r9643 - GNUnet/src/util/getopt


From: gnunet
Subject: [GNUnet-SVN] r9643 - GNUnet/src/util/getopt
Date: Mon, 30 Nov 2009 09:17:37 +0100

Author: grothoff
Date: 2009-11-30 09:17:37 +0100 (Mon, 30 Nov 2009)
New Revision: 9643

Modified:
   GNUnet/src/util/getopt/printhelp.c
Log:
fix

Modified: GNUnet/src/util/getopt/printhelp.c
===================================================================
--- GNUnet/src/util/getopt/printhelp.c  2009-11-30 08:16:44 UTC (rev 9642)
+++ GNUnet/src/util/getopt/printhelp.c  2009-11-30 08:17:37 UTC (rev 9643)
@@ -73,7 +73,10 @@
           printf ("%*s", 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:





reply via email to

[Prev in Thread] Current Thread [Next in Thread]