Skip to content

Commit d60547b

Browse files
committed
patch 8.0.0767: build failure with Athena and Motif
Problem: Build failure with Athena and Motif. Solution: Move local variable delcarations. (Kazunobu Kuriyama)
1 parent c4f43bc commit d60547b

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/gui_x11.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2270,8 +2270,6 @@ fontset_ascent(XFontSet fs)
22702270
gui_mch_get_color(char_u *name)
22712271
{
22722272
guicolor_T requested;
2273-
XColor available;
2274-
Colormap colormap;
22752273

22762274
/* can't do this when GUI not running */
22772275
if (!gui.in_use || name == NULL || *name == NUL)
@@ -2295,6 +2293,8 @@ gui_mch_get_color(char_u *name)
22952293
gui_mch_get_rgb_color(int r, int g, int b)
22962294
{
22972295
char spec[8]; /* space enough to hold "#RRGGBB" */
2296+
XColor available;
2297+
Colormap colormap;
22982298

22992299
vim_snprintf(spec, sizeof(spec), "#%.2x%.2x%.2x", r, g, b);
23002300
colormap = DefaultColormap(gui.dpy, DefaultScreen(gui.dpy));

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -769,6 +769,8 @@ static char *(features[]) =
769769

770770
static int included_patches[] =
771771
{ /* Add new patch number below this line */
772+
/**/
773+
767,
772774
/**/
773775
766,
774776
/**/

0 commit comments

Comments
 (0)