diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2010-08-29 15:18:07 +0200 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2010-08-29 15:18:07 +0200 |
commit | 3adfe874f8720ac0a487d5722296bacbe93a697e (patch) | |
tree | 5395630acc36bdc6a78e029902e88dab22af93d7 | |
parent | 607f9bf77bdb20dfdeed0b20912349a39270f4fd (diff) |
slight change in volumebar rendering
-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 { |