summaryrefslogtreecommitdiff
path: root/src/i18n.h
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-04-16 08:54:12 -0300
committerEuAndreh <eu@euandre.org>2024-04-16 08:54:12 -0300
commita0e3a36ac49eecf4d529c53efdb994a49bc61084 (patch)
tree46384da40eba443ccbfa959d1a961c38fbfb3969 /src/i18n.h
parentsrc/pindaiba.h: Add definition of NULL_TERMINATOR (diff)
downloadpindaiba-a0e3a36ac49eecf4d529c53efdb994a49bc61084.tar.gz
pindaiba-a0e3a36ac49eecf4d529c53efdb994a49bc61084.tar.xz
src/i18n.h: Change "_()" from a macro to a function
Diffstat (limited to '')
-rw-r--r--src/i18n.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/i18n.h b/src/i18n.h
index 2cf992e..0472079 100644
--- a/src/i18n.h
+++ b/src/i18n.h
@@ -42,4 +42,5 @@ enum MSGCATALOG_ID {
extern const char *const
MSGS[];
-#define _(msg_id) s(MSGS, msg_id)
+const char *
+_(const int msg_id);