emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master f232715: ; * src/nsmenu.m: Undo unintentional change


From: Mattias Engdegård
Subject: master f232715: ; * src/nsmenu.m: Undo unintentional change
Date: Wed, 30 Dec 2020 07:15:40 -0500 (EST)

branch: master
commit f232715aac07318aaa192da1d73619c10523951b
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>

    ; * src/nsmenu.m: Undo unintentional change
---
 src/nsmenu.m | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/nsmenu.m b/src/nsmenu.m
index de0c61c..a356cff 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];



reply via email to

[Prev in Thread] Current Thread [Next in Thread]