aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Hinz <bphinz@users.sourceforge.net>2012-04-26 04:33:11 +0000
committerBrian Hinz <bphinz@users.sourceforge.net>2012-04-26 04:33:11 +0000
commite0df4c38a477a6b3fbcd2feea074ff5912352981 (patch)
tree594342d704ba9bc367ead975accb77c5c5fc9e67
parent9dd057bb0f981c65a372ee4346bc0bb034d01d24 (diff)
downloadtigervnc-e0df4c38a477a6b3fbcd2feea074ff5912352981.tar.gz
tigervnc-e0df4c38a477a6b3fbcd2feea074ff5912352981.zip
Fixed cut & paste error
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4903 3789f03b-4d11-0410-bbf8-ca57d06f2519
-rw-r--r--java/com/tigervnc/vncviewer/OptionsDialog.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/com/tigervnc/vncviewer/OptionsDialog.java b/java/com/tigervnc/vncviewer/OptionsDialog.java
index 7854b49f..8cf0b1b1 100644
--- a/java/com/tigervnc/vncviewer/OptionsDialog.java
+++ b/java/com/tigervnc/vncviewer/OptionsDialog.java
@@ -160,7 +160,7 @@ class OptionsDialog extends Dialog implements
scalingFactor = new JComboBox(scalingFactors);
// Hack to set the left inset on editable JComboBox
if (UIManager.getLookAndFeel().getID() == "Windows") {
- scalingFactor.setBorder(BorderFactory.createCompoundBorder(compressLevel.getBorder(),
+ scalingFactor.setBorder(BorderFactory.createCompoundBorder(scalingFactor.getBorder(),
BorderFactory.createEmptyBorder(0,1,0,0)));
} else if (UIManager.getLookAndFeel().getID() == "Metal") {
ComboBoxEditor sfe = scalingFactor.getEditor();