зеркало из https://github.com/mozilla/pjs.git
Changing a char array to a PRUnichar array, to fix a build
warning. r=sspitzer.
This commit is contained in:
Родитель
fc6d39f73f
Коммит
37a7616b04
|
@ -5265,7 +5265,7 @@ nsHTMLEditor::SetCaretInTableCell(nsIDOMElement* aElement)
|
|||
// Check if node is text and has more than just a  
|
||||
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  
|
||||
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
|
||||
|
|
Загрузка…
Ссылка в новой задаче