# HG changeset patch # User Tomasz Mon # Date 1183373426 -7200 # Node ID 53ebe56cb0ac28d234e4d0f7e9008a73bfd7b08e # Parent dd4a213bab66971bff834f74cc2550a64f1b9a9c fix scrolling when double-sized diff -r dd4a213bab66 -r 53ebe56cb0ac src/audacious/ui_skinned_textbox.c --- a/src/audacious/ui_skinned_textbox.c Mon Jul 02 12:40:56 2007 +0200 +++ b/src/audacious/ui_skinned_textbox.c Mon Jul 02 12:50:26 2007 +0200 @@ -322,7 +322,7 @@ priv->move_x = 0; priv->move_y = 0; - if (textbox->width != widget->allocation.width) { + if (textbox->width != widget->allocation.width/(priv->double_size ? 2 : 1)) { textbox->width = widget->allocation.width/(priv->double_size ? 2 : 1); priv->resize_width = 0; priv->resize_height = 0;