summaryrefslogtreecommitdiffstats
path: root/base/word_iterator.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/word_iterator.cc')
-rw-r--r--base/word_iterator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/word_iterator.cc b/base/word_iterator.cc
index 1e59a2f..7af07f5 100644
--- a/base/word_iterator.cc
+++ b/base/word_iterator.cc
@@ -54,7 +54,7 @@ bool WordIterator::Init() {
int32_t destLength;
u_strFromWCS(&chars_[0], chars_.size(), &destLength, string_.data(),
string_.length(), &error);
-
+
iter_ = ubrk_open(break_type, NULL, &chars_[0], destLength, &status);
#endif
if (U_FAILURE(status)) {