the function is only called in situations where w is not 0

svn path=/trunk/KDE/kdebase/workspace/; revision=531428
icc-effect-5.14.5
Stephan Kulow 2006-04-19 10:13:32 +00:00
parent 6dbcaf5eab
commit c223d79ebe
1 changed files with 1 additions and 1 deletions

View File

@ -1662,7 +1662,7 @@ otherwise: the value
static double
get_opacity_percent(Display *dpy, win *w, double def)
{
if (w && w->isInFade)
if (w->isInFade)
{
fade *f = find_fade(w);
return f->finish;