mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
remove useless cast
This commit is contained in:
parent
237a97dfc0
commit
472b07f8ab
1 changed files with 1 additions and 1 deletions
2
draw.c
2
draw.c
|
@ -43,7 +43,7 @@ drawtext(Display *disp, int screen, int x, int y, int w, int h, Drawable drawabl
|
|||
|
||||
surface = cairo_xlib_surface_create(disp, drawable, DefaultVisual(disp, screen), dw, dh);
|
||||
cr = cairo_create(surface);
|
||||
font_face = (cairo_font_face_t *)cairo_ft_font_face_create_for_pattern(font->pattern);
|
||||
font_face = cairo_ft_font_face_create_for_pattern(font->pattern);
|
||||
cairo_set_font_face(cr, font_face);
|
||||
cairo_set_font_size(cr, font->height);
|
||||
cairo_set_source_rgb(cr, color[ColFG].red / 65535.0, color[ColFG].green / 65535.0, color[ColFG].blue / 65535.0);
|
||||
|
|
Loading…
Reference in a new issue