fix copy and paste error

setting from because to is invalid is rather wrong
icc-effect-5.14.5
Thomas Lübking 2013-01-27 19:06:45 +01:00
parent cd2eedd0f2
commit c88742db98
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ void AnimationEffect::animate( EffectWindow *w, Attribute a, uint meta, int ms,
to.set( relative[0] ? to[0] * area.width() : to[0],
relative[1] ? to[1] * area.height() : to[1] );
} else {
from.set(w->width(), w->height());
to.set(w->width(), w->height());
}