From ec1f8b65a2485666b0f5b4149050712d9ab4a084 Mon Sep 17 00:00:00 2001 From: "Fletcher T. Penney" Date: Tue, 24 Jan 2017 19:03:41 -0500 Subject: [PATCH] FIXED: Refactor i18n.h to allow disabling --- src/i18n.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/i18n.h b/src/i18n.h index 1a489df..c52b68b 100644 --- a/src/i18n.h +++ b/src/i18n.h @@ -95,6 +95,9 @@ static inline const char * Translate(unsigned long x, int l) { } +#endif + + // Based on ISO 639-1 names // https://en.wikipedia.org/wiki/ISO_639-1 enum lc_languages { @@ -114,7 +117,4 @@ static inline short i18n_language_from_string(const char * l) { return 0; } - -#endif - #endif -- 2.50.1