diff options
author | EuAndreh <eu@euandre.org> | 2024-05-24 22:08:02 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-05-24 22:10:24 -0300 |
commit | 8ebb7b875a0bc5a417ce62238afcc79c366b5fa1 (patch) | |
tree | 13a37aaad7f11831196edfbdede27083eb0bd4fe /src/i18n.c | |
parent | src/i18n.c: Remove leading empty string in MSGS[] (diff) | |
download | pindaiba-8ebb7b875a0bc5a417ce62238afcc79c366b5fa1.tar.gz pindaiba-8ebb7b875a0bc5a417ce62238afcc79c366b5fa1.tar.xz |
src/catalog.h: Do bounds checking on calls to s()
Diffstat (limited to 'src/i18n.c')
-rw-r--r-- | src/i18n.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -54,3 +54,8 @@ const char * _(const int msg_id) { return s(MSGS, msg_id); } + +int +i18n_init(void) { + return i18n_init_msgs(MSGS); +} |