summaryrefslogtreecommitdiff
path: root/plugins/gtkui/ddbvolumebar.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-08-29 15:18:07 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-08-29 15:18:07 +0200
commit3adfe874f8720ac0a487d5722296bacbe93a697e (patch)
tree5395630acc36bdc6a78e029902e88dab22af93d7 /plugins/gtkui/ddbvolumebar.c
parent607f9bf77bdb20dfdeed0b20912349a39270f4fd (diff)
slight change in volumebar rendering
Diffstat (limited to 'plugins/gtkui/ddbvolumebar.c')
-rw-r--r--plugins/gtkui/ddbvolumebar.c2
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 {