changeset 2920:5a94507f507e trunk

fix textbox_generate_xfont_pixmap
author Tomasz Mon <desowin@gmail.com>
date Fri, 29 Jun 2007 12:13:24 +0200
parents 2abf3bb3e63d
children 18b50acba9bb
files src/audacious/ui_skinned_textbox.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);