]> source.dussan.org Git - tigervnc.git/commitdiff
Improve TigerVNC branding in WinVNC
authorPierre Ossman <ossman@cendio.se>
Mon, 4 May 2015 13:04:21 +0000 (15:04 +0200)
committerPierre Ossman <ossman@cendio.se>
Mon, 4 May 2015 13:04:21 +0000 (15:04 +0200)
Avoids conflicts with the original RealVNC implementation, or any
other forks of that code.

win/vncconfig/vncconfig.cxx
win/winvnc/VNCServerService.cxx
win/winvnc/winvnc.cxx

index 32092986c38c13f94fd01a041369ff28d9a7c8b5..b1d0eef3ec4822f4d0d8e99be930b233246a2919 100644 (file)
@@ -43,7 +43,7 @@ static LogWriter vlog("main");
 #include <vncconfig/Desktop.h>
 
 
-TStr rfb::win32::AppName("VNC Config");
+TStr rfb::win32::AppName("TigerVNC Configuration");
 
 
 #ifdef _DEBUG
index 481df217182f576b6674d56d7797798cd12a89de..14be6da05c35667b488d683732979b0b45ddd084 100644 (file)
@@ -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)
index b9068657fd85d483084f42a3a7e91725f4729d47..cb0e8e45ea52554b1a7dc095b10d545dbd8e41c3 100644 (file)
@@ -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) {