From 2f25d35cfa1a4718a01dfe8e73591d8a3e28fe3c Mon Sep 17 00:00:00 2001 From: Peter Åstrand Date: Mon, 19 Jan 2009 12:23:57 +0000 Subject: 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 --- unix/vncviewer/CConn.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3