[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Fix misnamed variable breaking GNUstep Emacs.app build
From: |
Ahmed Khanzada |
Subject: |
[PATCH] Fix misnamed variable breaking GNUstep Emacs.app build |
Date: |
Fri, 17 Apr 2020 16:14:39 -0700 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (Gojō) APEL/10.8 EasyPG/1.0.0 Emacs/28.0 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
After a recent refactor of ns_set_offset in nsterm.m, I noticed that the
latest version of Emacs was not compiling under GNUstep.
I believe that this patch should fix the problem, but it could use review
from someone more familiar with the code. Emacs now compiles fine, and I
am writing this very email in an Emacs compiled with this patch.
Additionally, if you need any help maintaining Emacs.app under GNUstep,
please reach out to me. I am very interested, and I have already signed
legal documents with the FSF to contribute to Emacs (and soon, GNUstep)
diff --git a/src/nsterm.m b/src/nsterm.m
index 9cd1c9d860..5eb44639f5 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -1875,7 +1875,7 @@ Hide the window (X11 semantics)
FIXME: Surely there's a better way than just hardcoding 100
in here? */
- boundsRect.origin.x = 100;
+ topLeft.x = 100;
#endif
}
- [PATCH] Fix misnamed variable breaking GNUstep Emacs.app build,
Ahmed Khanzada <=