diff options
author | Peter Åstrand <astrand@cendio.se> | 2009-01-27 15:03:20 +0000 |
---|---|---|
committer | Peter Åstrand <astrand@cendio.se> | 2009-01-27 15:03:20 +0000 |
commit | e21ac1b1d32a5ec0903b920b76d44943a09fb597 (patch) | |
tree | 5c5ba46952008561596057bada295d47558e625c | |
parent | 7f0189df50c440f8eb8b85e8783a5eae3489fac0 (diff) | |
download | tigervnc-e21ac1b1d32a5ec0903b920b76d44943a09fb597.tar.gz tigervnc-e21ac1b1d32a5ec0903b920b76d44943a09fb597.zip |
Like r3552/r3553, but for Windows viewer: Add TightVNC to window title.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3580 3789f03b-4d11-0410-bbf8-ca57d06f2519
-rw-r--r-- | win/vncviewer/DesktopWindow.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/vncviewer/DesktopWindow.cxx b/win/vncviewer/DesktopWindow.cxx index 2b1ca398..eac2b6fd 100644 --- a/win/vncviewer/DesktopWindow.cxx +++ b/win/vncviewer/DesktopWindow.cxx @@ -1268,7 +1268,7 @@ DesktopWindow::setName(const char* name) { strCopy(desktopName, name, sizeof(desktopName)); } char *newTitle = new char[strlen(desktopName)+20]; - sprintf(newTitle, "%s @ %i%%", desktopName, getDesktopScale()); + sprintf(newTitle, "TightVNC: %.240s @ %i%%", desktopName, getDesktopScale()); SetWindowText(handle, TStr(newTitle)); delete [] newTitle; } |