Tightified sources:

* Changed description in README files.

* Added our copyright.

* The HTTP server presents itself as TightVNC, rather than RealVNC.

* Using registry path Software\TightVNC\WinVNC4

* Updated descriptions in resource files.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@67 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/vncviewer/CViewOptions.cxx b/vncviewer/CViewOptions.cxx
index 457da48..dd3d825 100644
--- a/vncviewer/CViewOptions.cxx
+++ b/vncviewer/CViewOptions.cxx
@@ -314,7 +314,7 @@
 
 void CViewOptions::writeDefaults() {
   RegKey key;
-  key.createKey(HKEY_CURRENT_USER, _T("Software\\RealVNC\\VNCviewer4"));
+  key.createKey(HKEY_CURRENT_USER, _T("Software\\TightVNC\\VNCviewer4"));
   key.setBool(_T("UseLocalCursor"), useLocalCursor);
   key.setBool(_T("UseDesktopResize"), useDesktopResize);
   key.setBool(_T("FullScreen"), fullScreen);
diff --git a/vncviewer/MRU.h b/vncviewer/MRU.h
index 9e99395..f065a06 100644
--- a/vncviewer/MRU.h
+++ b/vncviewer/MRU.h
@@ -35,7 +35,7 @@
     namespace MRU {
 
       static const RegKey RegRoot = HKEY_CURRENT_USER;
-      static const TCHAR* RegPath = _T("Software\\RealVNC\\VNCViewer4\\MRU");
+      static const TCHAR* RegPath = _T("Software\\TightVNC\\VNCViewer4\\MRU");
       static const int MaxMRUEntries = 256;
       static const int MRUEntries = 10;
 
@@ -137,4 +137,4 @@
 
 };
 
-#endif
\ No newline at end of file
+#endif
diff --git a/vncviewer/vncviewer.cxx b/vncviewer/vncviewer.cxx
index 59e2d00..f0c9f20 100644
--- a/vncviewer/vncviewer.cxx
+++ b/vncviewer/vncviewer.cxx
@@ -270,7 +270,7 @@
 
 #ifdef _DIALOG_CAPTURE
     if (captureDialogs) {
-      CView::userConfigKey.openKey(HKEY_CURRENT_USER, _T("Software\\RealVNC\\VNCViewer4"));
+      CView::userConfigKey.openKey(HKEY_CURRENT_USER, _T("Software\\TightVNC\\VNCViewer4"));
       OptionsDialog::global.showDialog(0, true);
       return 0;
     }
@@ -286,10 +286,10 @@
     if (!configFiles.empty() || !hosts.empty() || acceptIncoming) {
       // - Configure the registry configuration reader
       win32::RegistryReader reg_reader;
-      reg_reader.setKey(HKEY_CURRENT_USER, _T("Software\\RealVNC\\VNCViewer4"));
+      reg_reader.setKey(HKEY_CURRENT_USER, _T("Software\\TightVNC\\VNCViewer4"));
 
       // - Tell the rest of VNC Viewer where to write config data to
-      CView::userConfigKey.openKey(HKEY_CURRENT_USER, _T("Software\\RealVNC\\VNCViewer4"));
+      CView::userConfigKey.openKey(HKEY_CURRENT_USER, _T("Software\\TightVNC\\VNCViewer4"));
 
       // - Start the Socket subsystem for TCP
       TcpSocket::initTcpSockets();
diff --git a/vncviewer/vncviewer.exe.manifest b/vncviewer/vncviewer.exe.manifest
index 557e456..7fd947f 100644
--- a/vncviewer/vncviewer.exe.manifest
+++ b/vncviewer/vncviewer.exe.manifest
@@ -3,7 +3,7 @@
 <assemblyIdentity
    version="4.0.0.26"
    processorArchitecture="X86"
-   name="RealVNC.vncviewer.exe"
+   name="TightVNC.vncviewer.exe"
    type="win32"
 />
 <description>.NET control deployment tool</description>
diff --git a/vncviewer/vncviewer.rc b/vncviewer/vncviewer.rc
index 636c297..5a730ed 100644
--- a/vncviewer/vncviewer.rc
+++ b/vncviewer/vncviewer.rc
@@ -80,15 +80,15 @@
         BLOCK "080904b0"
         BEGIN
             VALUE "Comments", "\0"
-            VALUE "CompanyName", "RealVNC Ltd.\0"
-            VALUE "FileDescription", "VNC Viewer for Win32\0"
+            VALUE "CompanyName", "Constantin Kaplinsky\0"
+            VALUE "FileDescription", "TightVNC Viewer for Win32\0"
             VALUE "FileVersion", "4.0\0"
             VALUE "InternalName", "VNCViewer 4.0\0"
-            VALUE "LegalCopyright", "Copyright © RealVNC Ltd. 2002-2004\0"
-            VALUE "LegalTrademarks", "RealVNC\0"
+            VALUE "LegalCopyright", "Copyright (C) 1998-2004 [many holders]\0"
+            VALUE "LegalTrademarks", "TightVNC\0"
             VALUE "OriginalFilename", "vncviewer.exe\0"
             VALUE "PrivateBuild", "\0"
-            VALUE "ProductName", "VNC Viewer 4.0\0"
+            VALUE "ProductName", "TightVNC Viewer 4.0\0"
             VALUE "ProductVersion", "4.0\0"
             VALUE "SpecialBuild", "\0"
         END
@@ -160,7 +160,7 @@
     LTEXT           ">version<",IDC_VERSION,165,10,77,15
     LTEXT           ">buildtime<",IDC_BUILDTIME,40,25,202,15
     LTEXT           ">copyright<",IDC_COPYRIGHT,40,40,202,15
-    LTEXT           "See http://www.realvnc.com for more information on VNC.",
+    LTEXT           "See http://www.tightvnc.com for more information on TightVNC.",
                     IDC_STATIC,40,55,202,15
 END