aboutsummaryrefslogtreecommitdiffstats
path: root/jnlib/w32-gettext.c
diff options
context:
space:
mode:
Diffstat (limited to 'jnlib/w32-gettext.c')
-rw-r--r--jnlib/w32-gettext.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/jnlib/w32-gettext.c b/jnlib/w32-gettext.c
index 987292832..dceabca20 100644
--- a/jnlib/w32-gettext.c
+++ b/jnlib/w32-gettext.c
@@ -1333,6 +1333,11 @@ set_gettext_file ( const char *filename, const char *regkey )
{
struct loaded_domain *domain = NULL;
+ /* FIXME: To support dgettext we need to make struct loaded_doman a
+ linked list and search that list for loaded domains before adding
+ a new one. If it is loaded just switch the current doman but do
+ not free anything. */
+
if ( filename && *filename )
{
if ( filename[0] == '/'