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
diff --git a/unix/vncviewer/CConn.cxx b/unix/vncviewer/CConn.cxx
index 47489da..138acbe 100644
--- a/unix/vncviewer/CConn.cxx
+++ b/unix/vncviewer/CConn.cxx
@@ -625,7 +625,7 @@
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);