From 3adfe874f8720ac0a487d5722296bacbe93a697e Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Sun, 29 Aug 2010 15:18:07 +0200 Subject: slight change in volumebar rendering --- plugins/gtkui/ddbvolumebar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/gtkui/ddbvolumebar.c b/plugins/gtkui/ddbvolumebar.c index e12373f1..83389f7f 100644 --- a/plugins/gtkui/ddbvolumebar.c +++ b/plugins/gtkui/ddbvolumebar.c @@ -184,7 +184,7 @@ volumebar_draw (GtkWidget *widget) { int _y = widget->allocation.height/2-h/2; _y += (h - _h); int _w = 3; - if (i <= vol) { + if (i < vol) { gdk_draw_rectangle (volumebar_backbuf, front_gc, TRUE, _x + widget->allocation.x, _y + widget->allocation.y, _w, _h); } else { -- cgit v1.2.3