summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@compiz-fusion.org>2009-02-27 17:10:44 +0100
committerDennis Kasprzyk <onestone@compiz-fusion.org>2009-02-27 17:10:44 +0100
commit59423aaf7e71cdd1fb52267065304a27394de2f7 (patch)
treed28ca03d62bfcc3e7440a880f64b9775a08168e1
parent608fef0c2be48ef1c25beb3875819db1ad1a4e70 (diff)
downloadzcomp-59423aaf7e71cdd1fb52267065304a27394de2f7.tar.gz
zcomp-59423aaf7e71cdd1fb52267065304a27394de2f7.tar.bz2
Fixed wrong compare function (Fixes inifinite loop).
-rw-r--r--plugins/scale/scale.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/scale/scale.cpp b/plugins/scale/scale.cpp
index ff3d047..23fdd8b 100644
--- a/plugins/scale/scale.cpp
+++ b/plugins/scale/scale.cpp
@@ -372,7 +372,7 @@ bool
PrivateScaleWindow::compareWindowsDistance (ScaleWindow *w1,
ScaleWindow *w2)
{
- return w2->priv->distance < w1->priv->distance;
+ return w1->priv->distance < w2->priv->distance;
}
void