Mercurial > audlegacy
changeset 3893:184136832520
check skin height after loading
| author | Tomasz Mon <desowin@gmail.com> |
|---|---|
| date | Fri, 02 Nov 2007 19:25:36 +0100 |
| parents | 3b530b2dcf2c |
| children | bd11d516f367 |
| files | src/audacious/skin.c |
| diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audacious/skin.c Fri Nov 02 13:13:45 2007 +0100 +++ b/src/audacious/skin.c Fri Nov 02 19:25:36 2007 +0100 @@ -1615,6 +1615,10 @@ ui_skinned_number_set_size(mainwin_sec_num, 9, pixmap->height); } + pixmap = skin_get_pixmap(skin, SKIN_MAIN); + if (pixmap && skin->properties.mainwin_height > pixmap->height) + skin->properties.mainwin_height = pixmap->height; + return error; }
