X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fargp-help.c;h=e7baaf9ff888c08f4b3e03f7071f093e92c4a323;hb=a0a86efb418fd595d9154cf6ca70c78ea777afb9;hp=8f5c73adc5fca6beba918ea97c3f316d29b6eafb;hpb=1beff1e41eb41ce276d25d5eba9f5b46f201b7c3;p=gnulib.git diff --git a/lib/argp-help.c b/lib/argp-help.c index 8f5c73adc..e7baaf9ff 100644 --- a/lib/argp-help.c +++ b/lib/argp-help.c @@ -1496,7 +1496,7 @@ argp_doc (const struct argp *argp, const struct argp_state *state, } else inp_text = post ? 0 : argp->doc; - trans_text = dgettext (argp->argp_domain, inp_text); + trans_text = inp_text ? dgettext (argp->argp_domain, inp_text) : NULL; } else trans_text = inp_text = 0;