summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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