diff options
author | sidchat@google.com <sidchat@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-30 00:09:00 +0000 |
---|---|---|
committer | sidchat@google.com <sidchat@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-30 00:09:00 +0000 |
commit | 6b4e3017caa37d0bf760f79292e8cc867b2f4ec9 (patch) | |
tree | ab4676a7ff61127e5f02ee30f966f0126e4280e8 /chrome | |
parent | f0198481e65d6f1407507d31b0a03de5ed687e01 (diff) | |
download | chromium_src-6b4e3017caa37d0bf760f79292e8cc867b2f4ec9.zip chromium_src-6b4e3017caa37d0bf760f79292e8cc867b2f4ec9.tar.gz chromium_src-6b4e3017caa37d0bf760f79292e8cc867b2f4ec9.tar.bz2 |
Possible fix for UnitTestFailure
TBR=brettw
Review URL: http://codereview.chromium.org/115962
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17268 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/spellchecker.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/spellchecker.cc b/chrome/browser/spellchecker.cc index d185019..99ce06c 100644 --- a/chrome/browser/spellchecker.cc +++ b/chrome/browser/spellchecker.cc @@ -487,7 +487,7 @@ void SpellChecker::GetAutoCorrectionWord(const std::wstring& word, const wchar_t* word_char = word.c_str(); for (int i = 0; i <= kMaxAutoCorrectWordSize; i++) { // Ignore words having uppercase letter, other that the first letter. - if (i > 0 && u_isupper(word_char[i])) + if (i > 0 && u_isupper(static_cast<UChar32>(word_char[i]))) return; if (i >= word_length) |