mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
w32: Fix a potential problem in gpgconf's gettext.
* tools/gpgconf-comp.c (my_dgettext) [USE_SIMPLE_GETTEXT]: Make sure to return something even DOMAIN is not given.
This commit is contained in:
parent
3032fc3ad7
commit
a0fc42598f
1 changed files with 2 additions and 0 deletions
|
@ -1210,6 +1210,8 @@ my_dgettext (const char *domain, const char *msgid)
|
|||
text = (char*)gettext (msgid);
|
||||
return text ? text : msgid;
|
||||
}
|
||||
else
|
||||
return msgid;
|
||||
#elif defined(ENABLE_NLS)
|
||||
if (domain)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue