From 0c54a2682cdd5df9eb32d92eb20dbaf5085eb427 Mon Sep 17 00:00:00 2001 From: David Capello Date: Wed, 24 Mar 2010 17:30:15 -0300 Subject: [PATCH] Fixed a little problem with text in draw_slider() overlapping bottom border. --- src/modules/skinneable_theme.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/skinneable_theme.cpp b/src/modules/skinneable_theme.cpp index db752a4ae..76d0e200a 100644 --- a/src/modules/skinneable_theme.cpp +++ b/src/modules/skinneable_theme.cpp @@ -1267,7 +1267,7 @@ void SkinneableTheme::draw_slider(JWidget widget, JRect clip) widget->setTextQuiet(buf); - r = jrect_new(x1, y1, x2+1, y2+1); + r = jrect_new(x1, y1, x2, y2); /* TODO when Allegro 4.1 will be officially released, replace this with the get_clip_rect, add_clip_rect, set_clip_rect