From c1cf60e0775f706b513623a47b02edf4c0d2e49d Mon Sep 17 00:00:00 2001 From: Peter Mikkelsen Date: Thu, 13 Nov 2025 20:04:02 +0100 Subject: Fix for when NLS is disabled --- src/core/init.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/core/init.c') diff --git a/src/core/init.c b/src/core/init.c index 7f50935..04a7135 100644 --- a/src/core/init.c +++ b/src/core/init.c @@ -45,8 +45,7 @@ aplwc_init_fns(APLWCFunctions *fns) APLWC * aplwc_init(APLWCFunctions *fns, void *aux) { - char *domdir = bindtextdomain(PACKAGE, LOCALEDIR); - char *dom = textdomain(PACKAGE); + init_nls(); size_t size = sizeof(APLWC) + (APLWC_ALIGNMENT - 1) + WS_START_SIZE + (WS_ALIGNMENT - 1); intptr_t base = (intptr_t)fns->alloc(aux, size); -- cgit v1.2.3