summaryrefslogtreecommitdiff
path: root/src/core/init.c
diff options
context:
space:
mode:
authorPeter Mikkelsen <petermikkelsen10@gmail.com>2025-11-13 20:04:02 +0100
committerPeter Mikkelsen <petermikkelsen10@gmail.com>2025-11-13 20:04:02 +0100
commitc1cf60e0775f706b513623a47b02edf4c0d2e49d (patch)
tree4ab935c346d53019d4865219cfe68d6bd4a70b81 /src/core/init.c
parentc8b02c4f0c217c756ad00b4a3f19db931880ae67 (diff)
Fix for when NLS is disabled
Diffstat (limited to 'src/core/init.c')
-rw-r--r--src/core/init.c3
1 files changed, 1 insertions, 2 deletions
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);