diff options
Diffstat (limited to 'src/ZYZUserSymbolListAllSection.cc')
-rw-r--r-- | src/ZYZUserSymbolListAllSection.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ZYZUserSymbolListAllSection.cc b/src/ZYZUserSymbolListAllSection.cc index 5437d2d..f9f4114 100644 --- a/src/ZYZUserSymbolListAllSection.cc +++ b/src/ZYZUserSymbolListAllSection.cc @@ -49,7 +49,6 @@ UserSymbolListAllSection::~UserSymbolListAllSection () gboolean UserSymbolListAllSection::loadUserSymbolFile (const gchar * filename) { - printf ("load %s.\n", filename); gboolean retval = m_user_symbols.loadFromFile (filename); return retval; } @@ -108,7 +107,7 @@ UserSymbolListAllSection::selectCandidate (guint index) if (index >= m_candidates.size ()) return 0; - m_choice = m_candidates[index]; + m_choice = m_user_symbols.find (m_candidates[index]); return m_choice.utf8Length (); } |