fixes a typo
authorPeng Wu <alexepico@gmail.com>
Thu, 1 Dec 2011 02:41:58 +0000 (10:41 +0800)
committerPeng Wu <alexepico@gmail.com>
Thu, 1 Dec 2011 02:41:58 +0000 (10:41 +0800)
src/storage/chewing_large_table.cpp

index 765e7ce..00d7c5b 100644 (file)
@@ -192,7 +192,7 @@ int ChewingBitmapIndexLevel::middle_and_final_level_search
              ORIGIN, phrase_length, keys, ranges);                      \
         if (m_options & AMBIGUITY) {                                    \
             result |= tone_level_search                                 \
-                (initial, middle,                                        \
+                (initial, middle,                                       \
                  ANOTHER, phrase_length, keys, ranges);                 \
         }                                                               \
         return result;                                                  \
@@ -218,7 +218,7 @@ int ChewingBitmapIndexLevel::middle_and_final_level_search
                 return result;
             } else { /* normal pinyin */
                 result |= tone_level_search
-                    (initial, middle, (ChewingFinal)first_key.m_final,
+                    (initial, middle, CHEWING_ZERO_FINAL,
                      phrase_length, keys, ranges);
                 return result;
             }