Improve TigerVNC branding in WinVNC
Avoids conflicts with the original RealVNC implementation, or any
other forks of that code.
diff --git a/win/winvnc/VNCServerService.cxx b/win/winvnc/VNCServerService.cxx
index 481df21..14be6da 100644
--- a/win/winvnc/VNCServerService.cxx
+++ b/win/winvnc/VNCServerService.cxx
@@ -29,7 +29,7 @@
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 b906865..cb0e8e4 100644
--- a/win/winvnc/winvnc.cxx
+++ b/win/winvnc/winvnc.cxx
@@ -37,7 +37,7 @@
static LogWriter vlog("main");
-TStr rfb::win32::AppName("VNC Server");
+TStr rfb::win32::AppName("TigerVNC Server");
extern bool runAsService;
@@ -169,7 +169,7 @@
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) {