summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Åstrand <astrand@cendio.se>2009-01-19 12:23:57 +0000
committerPeter Åstrand <astrand@cendio.se>2009-01-19 12:23:57 +0000
commit2f25d35cfa1a4718a01dfe8e73591d8a3e28fe3c (patch)
tree1f7b997c1ae873e3d9153769746f7b6fa14e383c
parent1abaff963c34d59d8c596e24d0b59dbd0103b8be (diff)
downloadtigervnc-2f25d35cfa1a4718a01dfe8e73591d8a3e28fe3c.tar.gz
tigervnc-2f25d35cfa1a4718a01dfe8e73591d8a3e28fe3c.zip
Another correction to the window name code: put parenthesis where it should be.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3560 3789f03b-4d11-0410-bbf8-ca57d06f2519
-rw-r--r--unix/vncviewer/CConn.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/vncviewer/CConn.cxx b/unix/vncviewer/CConn.cxx
index 47489daa..138acbef 100644
--- a/unix/vncviewer/CConn.cxx
+++ b/unix/vncviewer/CConn.cxx
@@ -625,7 +625,7 @@ void CConn::recreateViewport()
CharArray windowNameStr(windowName.getData());
if (!windowNameStr.buf[0]) {
windowNameStr.replaceBuf(new char[256]);
- snprintf(windowNameStr.buf, 256, _("TightVNC: %.240s", cp.name()));
+ snprintf(windowNameStr.buf, 256, _("TightVNC: %.240s"), cp.name());
}
viewport->toplevel(windowNameStr.buf, this, argc, argv);
viewport->setBumpScroll(fullScreen);