Index: chrome/browser/spellchecker.cc |
diff --git a/chrome/browser/spellchecker.cc b/chrome/browser/spellchecker.cc |
index b6a990bec63883b4cd5a03b3c5fc3d30572c5988..b8bcc7fb0d6e3c29d27676cb1643c3cdfd481829 100644 |
--- a/chrome/browser/spellchecker.cc |
+++ b/chrome/browser/spellchecker.cc |
@@ -547,7 +547,7 @@ void SpellChecker::GetAutoCorrectionWord(const std::wstring& word, |
const wchar_t* word_char = word.c_str(); |
for (int i = 0; i <= kMaxAutoCorrectWordSize; i++) { |
if (i >= word_length) |
- misspelled_word[i] = 0; |
+ misspelled_word[i] = NULL; |
else |
misspelled_word[i] = word_char[i]; |
} |