diff options
Diffstat (limited to 'base/i18n/break_iterator.cc')
-rw-r--r-- | base/i18n/break_iterator.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/base/i18n/break_iterator.cc b/base/i18n/break_iterator.cc index e1b5e29..edc8950 100644 --- a/base/i18n/break_iterator.cc +++ b/base/i18n/break_iterator.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -33,7 +33,7 @@ bool BreakIterator::Init() { case BREAK_WORD: break_type = UBRK_WORD; break; - case BREAK_SPACE: + case BREAK_LINE: case BREAK_NEWLINE: break_type = UBRK_LINE; break; @@ -59,7 +59,7 @@ bool BreakIterator::Advance() { prev_ = pos_; switch (break_type_) { case BREAK_WORD: - case BREAK_SPACE: + case BREAK_LINE: pos = ubrk_next(static_cast<UBreakIterator*>(iter_)); if (pos == UBRK_DONE) { pos_ = npos; |