aboutsummaryrefslogtreecommitdiffstats
path: root/win/winvnc
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2016-01-12 10:13:17 +0100
committerPierre Ossman <ossman@cendio.se>2016-01-12 10:13:17 +0100
commit018c67e6e1cdfb5e0494ad987093738b7fe7e60d (patch)
treed037135640e794e90ae026fabe91e88bc9fed781 /win/winvnc
parent9986dce0ae20b0821a5e189f58e86a764079048b (diff)
downloadtigervnc-018c67e6e1cdfb5e0494ad987093738b7fe7e60d.tar.gz
tigervnc-018c67e6e1cdfb5e0494ad987093738b7fe7e60d.zip
Provide description for services
The argument named "desc" was not actually the description, but rather the short "display name". Add handling for the actual description to reduce confusion.
Diffstat (limited to 'win/winvnc')
-rw-r--r--win/winvnc/winvnc.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/win/winvnc/winvnc.cxx b/win/winvnc/winvnc.cxx
index cb0e8e45..ff16aacd 100644
--- a/win/winvnc/winvnc.cxx
+++ b/win/winvnc/winvnc.cxx
@@ -169,6 +169,7 @@ static void processParams(int argc, char** argv) {
int j = i;
i = argc;
if (rfb::win32::registerService(VNCServerService::Name,
+ _T("TigerVNC Server"),
_T("Provides remote access to this machine via the VNC/RFB protocol."),
argc-(j+1), &argv[j+1]))
MsgBoxOrLog("Registered service successfully");