summaryrefslogtreecommitdiff
path: root/src/enchant++.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/enchant++.h')
-rw-r--r--src/enchant++.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/enchant++.h b/src/enchant++.h
index 458a707..e474a71 100644
--- a/src/enchant++.h
+++ b/src/enchant++.h
@@ -126,9 +126,9 @@ namespace enchant
utf8word.size());
}
- void is_added (const std::string & utf8word) {
- enchant_dict_is_added (m_dict, utf8word.c_str(),
- utf8word.size());
+ bool is_added (const std::string & utf8word) {
+ return enchant_dict_is_added (m_dict, utf8word.c_str(),
+ utf8word.size());
}
void remove (const std::string & utf8word) {