wok-next view magicpoint/stuff/patches/568339.patch @ rev 20663
Fix web site for the Shimmer Project themes
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu May 10 22:58:32 2018 +0300 (2018-05-10) |
parents | |
children |
line source
1 --- a/draw.c
2 +++ b/draw.c
3 @@ -5425,7 +5425,6 @@
4 char *p, *p2;
5 char style[100];
6 char font[100];
7 - int stlen;
9 bzero(style, sizeof(style));
10 bzero(font, sizeof(font));
11 @@ -5471,12 +5470,12 @@
12 XFT_FAMILY, XftTypeString, font,
13 XFT_ENCODING, XftTypeString, registry,
14 XFT_STYLE, XftTypeString, style,
15 - XFT_PIXEL_SIZE, XftTypeDouble, (float)csize, 0);
16 + XFT_PIXEL_SIZE, XftTypeDouble, (float)csize, (char*)0);
17 } else {
18 xftfont = XftFontOpen(display, screen,
19 XFT_FAMILY, XftTypeString, font,
20 XFT_ENCODING, XftTypeString, registry,
21 - XFT_PIXEL_SIZE, XftTypeDouble, (float)csize, 0);
22 + XFT_PIXEL_SIZE, XftTypeDouble, (float)csize, (char*)0);
23 }
24 if (xftfont == 0) {
25 free(xfont);