]> git.eshelyaron.com Git - emacs.git/commitdiff
; * src/nsmenu.m: Undo unintentional change
authorMattias Engdegård <mattiase@acm.org>
Wed, 30 Dec 2020 12:04:26 +0000 (13:04 +0100)
committerMattias Engdegård <mattiase@acm.org>
Wed, 30 Dec 2020 12:14:16 +0000 (13:14 +0100)
src/nsmenu.m

index de0c61ceb54af7d94270f5848a9ce178b84ef7e7..a356cffbea3b00c4640aceb4e27a869c75211b99 100644 (file)
@@ -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];