From 40dbcb94a8058ce45edef5c6e5238c32121ebc1e Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Wed, 3 Nov 2010 14:39:20 +0800 Subject: fixes a typo --- src/storage/phrase_index.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/storage/phrase_index.cpp b/src/storage/phrase_index.cpp index 8bd65f6..364601e 100644 --- a/src/storage/phrase_index.cpp +++ b/src/storage/phrase_index.cpp @@ -288,6 +288,8 @@ bool FacadePhraseIndex::load_text(guint8 phrase_index, FILE * infile){ if ( feof(infile) ) break; + assert(PHRASE_INDEX_LIBRARY_INDEX(token) == phrase_index ); + glong written; utf16_t * phrase_utf16 = g_utf8_to_utf16(phrase, -1, NULL, &written, NULL); -- cgit