Bug 1248981 - Fix spelling error in nsMenuUtilsX.mm draft
authorCalixte Denizet <cdenizet@mozilla.com>
Wed, 17 Feb 2016 15:57:01 +0100
changeset 331545 fa9d0283ac141fbb20e79d26577f6b946168d6ba
parent 331542 709f559b5406e8555cf84dd09bdc747b076f142c
child 514402 2b6dbf8d21bbcfb05faf8781d7650dc6b7e971dc
push id11006
push usercdenizet@mozilla.com
push dateWed, 17 Feb 2016 15:00:16 +0000
bugs1248981
milestone47.0a1
Bug 1248981 - Fix spelling error in nsMenuUtilsX.mm MozReview-Commit-ID: FQNNmz9Mirk
widget/cocoa/nsMenuUtilsX.mm
--- a/widget/cocoa/nsMenuUtilsX.mm
+++ b/widget/cocoa/nsMenuUtilsX.mm
@@ -111,17 +111,17 @@ nsMenuBarX* nsMenuUtilsX::GetHiddenWindo
 }
 
 // It would be nice if we could localize these edit menu names.
 NSMenuItem* nsMenuUtilsX::GetStandardEditMenuItem()
 {
   NS_OBJC_BEGIN_TRY_ABORT_BLOCK_NIL;
 
   // In principle we should be able to allocate this once and then always
-  // return the same object.  But wierd interactions happen between native
+  // return the same object.  But weird interactions happen between native
   // app-modal dialogs and Gecko-modal dialogs that open above them.  So what
   // we return here isn't always released before it needs to be added to
   // another menu.  See bmo bug 468393.
   NSMenuItem* standardEditMenuItem =
     [[[NSMenuItem alloc] initWithTitle:@"Edit" action:nil keyEquivalent:@""] autorelease];
   NSMenu* standardEditMenu = [[NSMenu alloc] initWithTitle:@"Edit"];
   [standardEditMenuItem setSubmenu:standardEditMenu];
   [standardEditMenu release];