Changing a char array to a PRUnichar array, to fix a build

warning. r=sspitzer.
This commit is contained in:
bryner%uiuc.edu 1999-12-29 03:45:26 +00:00
Родитель ef700385ba
Коммит efb687dcad
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -5265,7 +5265,7 @@ nsHTMLEditor::SetCaretInTableCell(nsIDOMElement* aElement)
// Check if node is text and has more than just a &nbsp
nsCOMPtr<nsIDOMCharacterData>textNode = 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

Просмотреть файл

@ -5265,7 +5265,7 @@ nsHTMLEditor::SetCaretInTableCell(nsIDOMElement* aElement)
// Check if node is text and has more than just a &nbsp
nsCOMPtr<nsIDOMCharacterData>textNode = 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