Mercurial > audlegacy
changeset 3029:739516e45635
prevent from displaying mess
author | Tomasz Mon <desowin@gmail.com> |
---|---|
date | Tue, 10 Jul 2007 20:16:06 +0200 |
parents | e9e925c3adb5 |
children | 1be4df6e4ae3 |
files | src/audacious/ui_skinned_number.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audacious/ui_skinned_number.c Tue Jul 10 17:37:37 2007 +0200 +++ b/src/audacious/ui_skinned_number.c Tue Jul 10 20:16:06 2007 +0200 @@ -191,7 +191,7 @@ obj = gdk_pixmap_new(NULL, number->width, number->height, gdk_rgb_get_visual()->depth); gc = gdk_gc_new(obj); - if (number->num > 11) + if (number->num > 11 || number->num < 0) number->num = 10; skin_draw_pixmap(bmp_active_skin, obj, gc,