aboutsummaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorAdam Tkac <atkac@redhat.com>2011-01-07 12:44:43 +0000
committerAdam Tkac <atkac@redhat.com>2011-01-07 12:44:43 +0000
commit2d4ee587167bba837a31f896a3fc00f6aef6f70d (patch)
tree2f3ea97fdf7ed4a3b9dcd56f67b01bed600806f4 /unix
parent6ed99fb6d064be14ce3f1fda2937c7b8033371d8 (diff)
downloadtigervnc-2d4ee587167bba837a31f896a3fc00f6aef6f70d.tar.gz
tigervnc-2d4ee587167bba837a31f896a3fc00f6aef6f70d.zip
[Bugfix] Render "Ok" and "Cancel" button correctly when compiled with GNUTLS.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4232 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'unix')
-rw-r--r--unix/vncviewer/OptionsDialog.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/unix/vncviewer/OptionsDialog.h b/unix/vncviewer/OptionsDialog.h
index b7603f37..a3303fe9 100644
--- a/unix/vncviewer/OptionsDialog.h
+++ b/unix/vncviewer/OptionsDialog.h
@@ -198,6 +198,8 @@ public:
y += secVnc.height();
secPlain.move(xPad, y);
y += secPlain.height();
+
+ xPad -= SECOND_COL_XPAD;
#endif
/* Render "OK" and "Cancel" buttons */