summaryrefslogtreecommitdiffstats
path: root/win/vncconfig/vncconfig.cxx
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2014-07-09 17:02:27 +0200
committerPierre Ossman <ossman@cendio.se>2014-07-14 16:03:42 +0200
commitf8d525b1290641917bbb379325a9694803436c4a (patch)
tree4512c291db66a801254c4e7db77cf42c3847edb1 /win/vncconfig/vncconfig.cxx
parentc0397269fcab67e9acd4fdcbc29f24d79ed0ef39 (diff)
downloadtigervnc-f8d525b1290641917bbb379325a9694803436c4a.tar.gz
tigervnc-f8d525b1290641917bbb379325a9694803436c4a.zip
String literals are constant
Diffstat (limited to 'win/vncconfig/vncconfig.cxx')
-rw-r--r--win/vncconfig/vncconfig.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/vncconfig/vncconfig.cxx b/win/vncconfig/vncconfig.cxx
index 16bf1727..57193979 100644
--- a/win/vncconfig/vncconfig.cxx
+++ b/win/vncconfig/vncconfig.cxx
@@ -159,7 +159,7 @@ int WINAPI WinMain(HINSTANCE inst, HINSTANCE prev, char* cmdLine, int cmdShow) {
HICON icon = (HICON)LoadImage(inst, MAKEINTRESOURCE(IDI_ICON), IMAGE_ICON, 0, 0, LR_SHARED);
// Create the PropertySheet handler
- TCHAR* propSheetTitle = _T("VNC Server Properties (Service-Mode)");
+ const TCHAR* propSheetTitle = _T("VNC Server Properties (Service-Mode)");
if (configKey == HKEY_CURRENT_USER)
propSheetTitle = _T("VNC Server Properties (User-Mode)");
PropSheet sheet(inst, propSheetTitle, pages, icon);