wok-next view magicpoint/stuff/patches/568339.patch @ rev 19903
lynx: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 12 18:00:53 2017 +0200 (2017-10-12) |
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);