aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDave Love1999-09-13 19:10:19 +0000
committerDave Love1999-09-13 19:10:19 +0000
commit8abee2e185371ac3af340d364760be409e9d36a4 (patch)
treef2fd4b5ee065ac18085378b0a0f61c74a105a6f8 /src
parentea6b19cafa5dcbc5bbef5c4c2cf0585aa17a31e6 (diff)
downloademacs-8abee2e185371ac3af340d364760be409e9d36a4.tar.gz
emacs-8abee2e185371ac3af340d364760be409e9d36a4.zip
Don't continue #define args for benefit of old cc.
(xt_action_hook): Indent #error for benefit of K&R cc.
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 1dba5829394..7265d7e5084 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -4146,8 +4146,9 @@ x_set_glyph_string_background_width (s, start, last_x)
4146 glyph; e.g. it is DRAW_CURSOR if a cursor has to be drawn. LAST_X 4146 glyph; e.g. it is DRAW_CURSOR if a cursor has to be drawn. LAST_X
4147 is the right-most x-position of the drawing area. */ 4147 is the right-most x-position of the drawing area. */
4148 4148
4149#define BUILD_STRETCH_GLYPH_STRING(W, ROW, AREA, START, END, HEAD, TAIL, \ 4149/* SunOS 4 bundled cc, barfed on continuations in the arg lists here
4150 HL, X, LAST_X) \ 4150 and below -- keep them on one line. */
4151#define BUILD_STRETCH_GLYPH_STRING(W, ROW, AREA, START, END, HEAD, TAIL, HL, X, LAST_X) \
4151 do \ 4152 do \
4152 { \ 4153 { \
4153 s = (struct glyph_string *) alloca (sizeof *s); \ 4154 s = (struct glyph_string *) alloca (sizeof *s); \
@@ -4168,8 +4169,7 @@ x_set_glyph_string_background_width (s, start, last_x)
4168 glyph; e.g. it is DRAW_CURSOR if a cursor has to be drawn. LAST_X 4169 glyph; e.g. it is DRAW_CURSOR if a cursor has to be drawn. LAST_X
4169 is the right-most x-position of the drawing area. */ 4170 is the right-most x-position of the drawing area. */
4170 4171
4171#define BUILD_IMAGE_GLYPH_STRING(W, ROW, AREA, START, END, HEAD, TAIL, \ 4172#define BUILD_IMAGE_GLYPH_STRING(W, ROW, AREA, START, END, HEAD, TAIL, HL, X, LAST_X) \
4172 HL, X, LAST_X) \
4173 do \ 4173 do \
4174 { \ 4174 { \
4175 s = (struct glyph_string *) alloca (sizeof *s); \ 4175 s = (struct glyph_string *) alloca (sizeof *s); \
@@ -4191,8 +4191,7 @@ x_set_glyph_string_background_width (s, start, last_x)
4191 is DRAW_CURSOR if a cursor has to be drawn. LAST_X is the 4191 is DRAW_CURSOR if a cursor has to be drawn. LAST_X is the
4192 right-most x-position of the drawing area. */ 4192 right-most x-position of the drawing area. */
4193 4193
4194#define BUILD_CHAR_GLYPH_STRINGS(W, ROW, AREA, START, END, HEAD, TAIL, HL, \ 4194#define BUILD_CHAR_GLYPH_STRINGS(W, ROW, AREA, START, END, HEAD, TAIL, HL, X, LAST_X, OVERLAPS_P) \
4195 X, LAST_X, OVERLAPS_P) \
4196 do \ 4195 do \
4197 { \ 4196 { \
4198 int c, charset, face_id; \ 4197 int c, charset, face_id; \
@@ -4273,8 +4272,7 @@ x_set_glyph_string_background_width (s, start, last_x)
4273 to allocate glyph strings (because x_draw_glyphs can be called 4272 to allocate glyph strings (because x_draw_glyphs can be called
4274 asynchronously). */ 4273 asynchronously). */
4275 4274
4276#define BUILD_GLYPH_STRINGS(W, ROW, AREA, START, END, HEAD, TAIL, HL, \ 4275#define BUILD_GLYPH_STRINGS(W, ROW, AREA, START, END, HEAD, TAIL, HL, X, LAST_X, OVERLAPS_P) \
4277 X, LAST_X, OVERLAPS_P) \
4278 do \ 4276 do \
4279 { \ 4277 { \
4280 HEAD = TAIL = NULL; \ 4278 HEAD = TAIL = NULL; \
@@ -7143,7 +7141,7 @@ xt_action_hook (widget, client_data, action_name, event, params,
7143 scroll_bar_p = XtIsSubclass (widget, scrollbarWidgetClass); 7141 scroll_bar_p = XtIsSubclass (widget, scrollbarWidgetClass);
7144 end_action = "EndScroll"; 7142 end_action = "EndScroll";
7145#else 7143#else
7146#error unknown scroll bar toolkit 7144 #error unknown scroll bar toolkit
7147#endif /* HAVE_XAW3D */ 7145#endif /* HAVE_XAW3D */
7148 7146
7149 /* Although LessTif uses XtTimeouts like Xaw3d, the timer hack to 7147 /* Although LessTif uses XtTimeouts like Xaw3d, the timer hack to