summaryrefslogtreecommitdiff
path: root/src/generator.c
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2013-05-10 02:06:57 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2013-05-11 04:03:05 +0200
commite783f31de91771d0f94402f9b9f088dae07bc084 (patch)
treeadac8fe8777df6b42f08b1268b90fb045160ab07 /src/generator.c
parentbcf933fb9e8cc327a0c095b3456360a3ebf9fe6e (diff)
downloadtdv-e783f31de91771d0f94402f9b9f088dae07bc084.tar.gz
tdv-e783f31de91771d0f94402f9b9f088dae07bc084.tar.xz
tdv-e783f31de91771d0f94402f9b9f088dae07bc084.zip
Finish the add-pronunciation tool
Diffstat (limited to 'src/generator.c')
-rw-r--r--src/generator.c4
1 files changed, 4 insertions, 0 deletions
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)