diff options
-rw-r--r-- | plugins/gtkui/ddbvolumebar.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |