diff options
-rw-r--r-- | greeter/Login.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/greeter/Login.c b/greeter/Login.c index 6ac1765..05a460f 100644 --- a/greeter/Login.c +++ b/greeter/Login.c @@ -223,14 +223,14 @@ static XtResource resources[] = { #define TEXT_COLOR(f) (w->login.f##color.pixel) #define TEXT_WIDTH(f, m, l) XmuXftTextWidth(XtDisplay (w), \ - w->login.f##Face, (FcChar8 *) m, l) + w->login.f##Face, (FcChar8 *) (m), l) static int XmuXftTextWidth(Display *dpy, XftFont *font, FcChar8 *string, int len); #define DRAW_STRING(f, x, y, m, l) \ /* Debug("DRAW_STRING(%s, %d, %d, %s, %d)\n", #f, x, y, m, l); */ \ XftDrawString8 (w->login.draw, &w->login.f##color, w->login.f##Face, \ - x, y, (FcChar8 *) m, l) + x, y, (FcChar8 *) (m), l) #define STRING_WIDTH(f, s) TEXT_WIDTH (f, s, strlen(s)) |