summaryrefslogtreecommitdiff
path: root/src/lang.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lang.c')
-rw-r--r--src/lang.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lang.c b/src/lang.c
index db28e318..f85d193a 100644
--- a/src/lang.c
+++ b/src/lang.c
@@ -32,7 +32,9 @@ static void clear_Lang_(iLang *d) {
32static void load_Lang_(iLang *d, const char *id) { 32static void load_Lang_(iLang *d, const char *id) {
33 /* Load compiled language strings from an embedded blob. */ 33 /* Load compiled language strings from an embedded blob. */
34 iUnused(id); 34 iUnused(id);
35 const iBlock *data = equal_CStr(id, "fi") ? &blobFi_Embedded : &blobEn_Embedded; 35 const iBlock *data = equal_CStr(id, "fi") ? &blobFi_Embedded
36 : equal_CStr(id, "ru") ? &blobRu_Embedded
37 : &blobEn_Embedded;
36 iMsgStr msg; 38 iMsgStr msg;
37 for (const char *ptr = constBegin_Block(data); ptr != constEnd_Block(data); ptr++) { 39 for (const char *ptr = constBegin_Block(data); ptr != constEnd_Block(data); ptr++) {
38 msg.id.start = ptr; 40 msg.id.start = ptr;