# HG changeset patch # User Tomasz Mon # Date 1183112004 -7200 # Node ID 5a94507f507e4ab1528a193cff57f552e45d1203 # Parent 2abf3bb3e63d6ee825d3e87a7ab30d6cc9634c57 fix textbox_generate_xfont_pixmap diff -r 2abf3bb3e63d -r 5a94507f507e src/audacious/ui_skinned_textbox.c --- a/src/audacious/ui_skinned_textbox.c Fri Jun 29 11:13:26 2007 +0200 +++ b/src/audacious/ui_skinned_textbox.c Fri Jun 29 12:13:24 2007 +0200 @@ -537,7 +537,7 @@ c = skin_get_color(bmp_active_skin, SKIN_TEXTBG); for (i = 0; i < textbox->height; i++) { gdk_gc_set_foreground(gc, &c[6 * i / textbox->height]); - gdk_draw_line(priv->pixmap, gc, 0, i, priv->w, i); + gdk_draw_line(priv->pixmap, gc, 0, i, priv->pixmap_width, i); } mask = gdk_pixmap_new(mainwin->window, priv->pixmap_width, textbox->height, 1);