libpinyin/libpinyin — Issue #4: pinyin_translate_token Meaningless Return Value
Author: csslayer
Created: 2011-12-22 18:00:59+00:00
State: open

bool retval = context->m_phrase_index->get_phrase_item(token, item);

get_phrase_item don't use bool as return value. Should be something like "== ERROR_OK" ?