From 8ebb7b875a0bc5a417ce62238afcc79c366b5fa1 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 24 May 2024 22:08:02 -0300 Subject: src/catalog.h: Do bounds checking on calls to s() --- src/i18n.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/i18n.c') diff --git a/src/i18n.c b/src/i18n.c index 4f5f748..5ecc47f 100644 --- a/src/i18n.c +++ b/src/i18n.c @@ -54,3 +54,8 @@ const char * _(const int msg_id) { return s(MSGS, msg_id); } + +int +i18n_init(void) { + return i18n_init_msgs(MSGS); +} -- cgit v1.2.3