From: Mattias EngdegÄrd Date: Wed, 30 Dec 2020 12:04:26 +0000 (+0100) Subject: ; * src/nsmenu.m: Undo unintentional change X-Git-Tag: emacs-28.0.90~4480 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f232715aac07318aaa192da1d73619c10523951b;p=emacs.git ; * src/nsmenu.m: Undo unintentional change --- diff --git a/src/nsmenu.m b/src/nsmenu.m index de0c61ceb54..a356cffbea3 100644 --- a/src/nsmenu.m +++ b/src/nsmenu.m @@ -571,8 +571,8 @@ skipspc (const char *s) /* Set a right-aligned tab stop at the maximum width, so that the key will appear immediately to the left of it. */ NSTextTab *tab = - [[[NSTextTab alloc] initWithTextAlignment: NSTextAlignmentLeft - location: maxWidth - maxKeyWidth + [[[NSTextTab alloc] initWithTextAlignment: NSTextAlignmentRight + location: maxWidth options: @{}] autorelease]; NSMutableParagraphStyle *pstyle = [[[NSMutableParagraphStyle alloc] init] autorelease];