From bc84faa2f366ed8fa0f44abc7e3e481e0a54859d Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Mon, 4 May 2015 15:04:21 +0200 Subject: [PATCH] Improve TigerVNC branding in WinVNC Avoids conflicts with the original RealVNC implementation, or any other forks of that code. --- win/vncconfig/vncconfig.cxx | 2 +- win/winvnc/VNCServerService.cxx | 2 +- win/winvnc/winvnc.cxx | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/win/vncconfig/vncconfig.cxx b/win/vncconfig/vncconfig.cxx index 32092986..b1d0eef3 100644 --- a/win/vncconfig/vncconfig.cxx +++ b/win/vncconfig/vncconfig.cxx @@ -43,7 +43,7 @@ static LogWriter vlog("main"); #include -TStr rfb::win32::AppName("VNC Config"); +TStr rfb::win32::AppName("TigerVNC Configuration"); #ifdef _DEBUG diff --git a/win/winvnc/VNCServerService.cxx b/win/winvnc/VNCServerService.cxx index 481df217..14be6da0 100644 --- a/win/winvnc/VNCServerService.cxx +++ b/win/winvnc/VNCServerService.cxx @@ -29,7 +29,7 @@ using namespace winvnc; using namespace rfb; using namespace win32; -const TCHAR* winvnc::VNCServerService::Name = _T("WinVNC4"); +const TCHAR* winvnc::VNCServerService::Name = _T("TigerVNC Server"); VNCServerService::VNCServerService() : Service(Name) diff --git a/win/winvnc/winvnc.cxx b/win/winvnc/winvnc.cxx index b9068657..cb0e8e45 100644 --- a/win/winvnc/winvnc.cxx +++ b/win/winvnc/winvnc.cxx @@ -37,7 +37,7 @@ using namespace win32; static LogWriter vlog("main"); -TStr rfb::win32::AppName("VNC Server"); +TStr rfb::win32::AppName("TigerVNC Server"); extern bool runAsService; @@ -169,7 +169,7 @@ static void processParams(int argc, char** argv) { int j = i; i = argc; if (rfb::win32::registerService(VNCServerService::Name, - _T("VNC Server Version 4"), + _T("Provides remote access to this machine via the VNC/RFB protocol."), argc-(j+1), &argv[j+1])) MsgBoxOrLog("Registered service successfully"); } else if (strcasecmp(argv[i], "-unregister") == 0) { -- 2.39.5