unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 0/1] * src/frame.h (FRAME_SCALE_FACTOR): remove trailing semicolon
@ 2021-04-04  2:05 Göktuğ Kayaalp
  2021-04-04  2:05 ` [PATCH 1/1] " Göktuğ Kayaalp
  0 siblings, 1 reply; 3+ messages in thread
From: Göktuğ Kayaalp @ 2021-04-04  2:05 UTC (permalink / raw)
  To: emacs-devel; +Cc: İ. Göktuğ Kayaalp

From: İ. Göktuğ Kayaalp <self@gkayaalp.com>

Looks like a trailing comma was mistakenly included in the definition
of the macro FRAME_SCALE_FACTOR, introduced in 4e1f92feb3.  This
triggered a build failure on my system as this macro caused a syntax
error in Fframe_scale_factor. The patch simply deletes the trailing
semicolon.

İ. Göktuğ Kayaalp (1):
  * src/frame.h (FRAME_SCALE_FACTOR): remove trailing semicolon

 src/frame.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.20.1




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/1] * src/frame.h (FRAME_SCALE_FACTOR): remove trailing semicolon
  2021-04-04  2:05 [PATCH 0/1] * src/frame.h (FRAME_SCALE_FACTOR): remove trailing semicolon Göktuğ Kayaalp
@ 2021-04-04  2:05 ` Göktuğ Kayaalp
  2021-04-04  2:13   ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Göktuğ Kayaalp @ 2021-04-04  2:05 UTC (permalink / raw)
  To: emacs-devel; +Cc: İ. Göktuğ Kayaalp

From: İ. Göktuğ Kayaalp <self@gkayaalp.com>

Remove trailing semicolon in macro expansion.
---
 src/frame.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/frame.h b/src/frame.h
index 9963112036..0fd95e4dd3 100644
--- a/src/frame.h
+++ b/src/frame.h
@@ -911,7 +911,7 @@ #define FRAME_HAS_MINIBUF_P(f)					\
 #if defined HAVE_NS
 # define FRAME_SCALE_FACTOR(f) (FRAME_NS_P (f) ? ns_frame_scale_factor (f) : 1)
 #else
-# define FRAME_SCALE_FACTOR(f) 1;
+# define FRAME_SCALE_FACTOR(f) 1
 #endif
 
 /* Pixel width of frame F.  */
-- 
2.20.1




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] * src/frame.h (FRAME_SCALE_FACTOR): remove trailing semicolon
  2021-04-04  2:05 ` [PATCH 1/1] " Göktuğ Kayaalp
@ 2021-04-04  2:13   ` Lars Ingebrigtsen
  0 siblings, 0 replies; 3+ messages in thread
From: Lars Ingebrigtsen @ 2021-04-04  2:13 UTC (permalink / raw)
  To: Göktuğ Kayaalp; +Cc: emacs-devel

Göktuğ Kayaalp <self@gkayaalp.com> writes:

> Remove trailing semicolon in macro expansion.

Thanks; applied to the trunk now.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-04-04  2:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-04  2:05 [PATCH 0/1] * src/frame.h (FRAME_SCALE_FACTOR): remove trailing semicolon Göktuğ Kayaalp
2021-04-04  2:05 ` [PATCH 1/1] " Göktuğ Kayaalp
2021-04-04  2:13   ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).