diff options
-rw-r--r-- | java/com/tigervnc/vncviewer/CConn.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/com/tigervnc/vncviewer/CConn.java b/java/com/tigervnc/vncviewer/CConn.java index fd07b27d..cccb7ba4 100644 --- a/java/com/tigervnc/vncviewer/CConn.java +++ b/java/com/tigervnc/vncviewer/CConn.java @@ -1002,7 +1002,7 @@ public class CConn extends CConnection } else { scaleString=scaleString.substring(0, scaleString.length()-1); } - if (oldScaleFactor != scaleString) { + if (!oldScaleFactor.equals(scaleString)) { viewer.scalingFactor.setParam(scaleString); if ((options.fullScreen.isSelected() == fullScreen) && (desktop != null)) |