From efb687dcad20e12de9dd7738750fe942016326cb Mon Sep 17 00:00:00 2001 From: "bryner%uiuc.edu" Date: Wed, 29 Dec 1999 03:45:26 +0000 Subject: [PATCH] Changing a char array to a PRUnichar array, to fix a build warning. r=sspitzer. --- editor/base/nsHTMLEditor.cpp | 2 +- editor/libeditor/html/nsHTMLEditor.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/editor/base/nsHTMLEditor.cpp b/editor/base/nsHTMLEditor.cpp index 79959c9b9bfd..bf452fa81c21 100644 --- a/editor/base/nsHTMLEditor.cpp +++ b/editor/base/nsHTMLEditor.cpp @@ -5265,7 +5265,7 @@ nsHTMLEditor::SetCaretInTableCell(nsIDOMElement* aElement) // Check if node is text and has more than just a   nsCOMPtrtextNode = do_QueryInterface(node); nsAutoString text; - char nbspStr[2] = {nbsp, 0}; + PRUnichar nbspStr[2] = {nbsp, 0}; if (textNode && textNode->GetData(text)) { // Set selection relative to the text node diff --git a/editor/libeditor/html/nsHTMLEditor.cpp b/editor/libeditor/html/nsHTMLEditor.cpp index 79959c9b9bfd..bf452fa81c21 100644 --- a/editor/libeditor/html/nsHTMLEditor.cpp +++ b/editor/libeditor/html/nsHTMLEditor.cpp @@ -5265,7 +5265,7 @@ nsHTMLEditor::SetCaretInTableCell(nsIDOMElement* aElement) // Check if node is text and has more than just a   nsCOMPtrtextNode = do_QueryInterface(node); nsAutoString text; - char nbspStr[2] = {nbsp, 0}; + PRUnichar nbspStr[2] = {nbsp, 0}; if (textNode && textNode->GetData(text)) { // Set selection relative to the text node