diff options
author | Bram Moolenaar <Bram@vim.org> | 2007-11-08 19:49:02 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2007-11-08 19:49:02 +0000 |
commit | 6f1924547b30753738ea0eb41ab31513894fde83 (patch) | |
tree | 96f66ba95fffc6689f546ec87d4054853be3fab3 /src/gui_xmebw.c | |
parent | a443af88a48d74b56ea9aa2aa486f52f340bbf77 (diff) | |
download | vim-git-6f1924547b30753738ea0eb41ab31513894fde83.tar.gz |
updated for version 7.1-153v7.1.153
Diffstat (limited to 'src/gui_xmebw.c')
-rw-r--r-- | src/gui_xmebw.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui_xmebw.c b/src/gui_xmebw.c index 85f25cd0e..77b59c240 100644 --- a/src/gui_xmebw.c +++ b/src/gui_xmebw.c @@ -395,11 +395,15 @@ set_pixmap(XmEnhancedButtonWidget eb) /* Create the "highlight" pixmap. */ color[4].pixel = eb->primitive.bottom_shadow_color; +#ifdef XpmAllocColor /* SGI doesn't have it */ attr.valuemask = XpmColorSymbols | XpmCloseness | XpmAllocColor; + attr.alloc_color = alloc_color; +#else + attr.valuemask = XpmColorSymbols | XpmCloseness; +#endif attr.closeness = 65535; /* accuracy isn't crucial */ attr.colorsymbols = color; attr.numsymbols = XtNumber(color); - attr.alloc_color = alloc_color; status = XpmCreatePixmapFromData(dpy, root, data, &pix, NULL, &attr); XpmFreeAttributes(&attr); |