From e783f31de91771d0f94402f9b9f088dae07bc084 Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Fri, 10 May 2013 02:06:57 +0200
Subject: Finish the add-pronunciation tool
---
src/generator.c | 4 ++++
1 file changed, 4 insertions(+)
(limited to 'src/generator.c')
diff --git a/src/generator.c b/src/generator.c
index b4bec9d..ac704ca 100644
--- a/src/generator.c
+++ b/src/generator.c
@@ -114,6 +114,10 @@ generator_finish (Generator *self, GError **error)
}
else
{
+ if (self->info->version == SD_VERSION_2_4_2
+ && !strcmp (key->name, "idxoffsetbits"))
+ continue;
+
gulong value = G_STRUCT_MEMBER (gulong,
self->info, key->offset);
if (value)
--
cgit v1.2.3-70-g09d2