small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64176 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -739,16 +739,16 @@ NS_IMETHODIMP nsWebShellWindow::LoadMenuItem(
|
||||
keyElement->GetAttribute(altAtom, altValue);
|
||||
keyElement->GetAttribute(commandAtom, commandValue);
|
||||
|
||||
if(keyChar != " ")
|
||||
if(!keyChar.Equals(" "))
|
||||
pnsMenuItem->SetShortcutChar(keyChar);
|
||||
|
||||
if(shiftValue == "true")
|
||||
if(shiftValue.Equals("true"))
|
||||
modifiers |= knsMenuItemShiftModifier;
|
||||
|
||||
if(altValue == "true")
|
||||
if(altValue.Equals("true"))
|
||||
modifiers |= knsMenuItemAltModifier;
|
||||
|
||||
if(commandValue == "false")
|
||||
if(commandValue.Equals("false"))
|
||||
modifiers |= knsMenuItemCommandModifier;
|
||||
|
||||
pnsMenuItem->SetModifiers(modifiers);
|
||||
|
||||
Reference in New Issue
Block a user