diff --git a/win/X11/winlabel.c b/win/X11/winlabel.c index 2c76c8f38..e7a673a7a 100644 --- a/win/X11/winlabel.c +++ b/win/X11/winlabel.c @@ -418,7 +418,7 @@ update_label(Widget w, WidgetData *data) XftDrawRect(draw, &fgcolor, 0, 0, width, 1); XftDrawRect(draw, &fgcolor, 0, height-1, width, 1); XftDrawRect(draw, &fgcolor, 0, 0, 1, height); - XftDrawRect(draw, &fgcolor, 0, height-1, 1, height); + XftDrawRect(draw, &fgcolor, width-1, 0, 1, height); #else XDrawRectangle(display, new_pixmap, ggc, 0, 0, width-1, height-1); #endif