mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-21 14:47:03 +01: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
@ -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…
x
Reference in New Issue
Block a user