Mercurial > audlegacy
diff src/audacious/ui_skinned_horizontal_slider.c @ 4119:9d4b5cdae3ba
oops, fix previous commit
author | Tomasz Mon <desowin@gmail.com> |
---|---|
date | Tue, 25 Dec 2007 16:42:10 +0100 |
parents | 1112f53ecc18 |
children | 2281da647da9 |
line wrap: on
line diff
--- a/src/audacious/ui_skinned_horizontal_slider.c Tue Dec 25 16:28:34 2007 +0100 +++ b/src/audacious/ui_skinned_horizontal_slider.c Tue Dec 25 16:42:10 2007 +0100 @@ -237,7 +237,7 @@ UiSkinnedHorizontalSlider *hs = UI_SKINNED_HORIZONTAL_SLIDER (widget); UiSkinnedHorizontalSliderPrivate *priv = UI_SKINNED_HORIZONTAL_SLIDER_GET_PRIVATE(hs); - g_return_val_if_fail (priv->width > 0 || priv->height > 0, FALSE); + g_return_val_if_fail (priv->width > 0 && priv->height > 0, FALSE); GdkPixmap *obj = NULL; GdkGC *gc;