From f8d525b1290641917bbb379325a9694803436c4a Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Wed, 9 Jul 2014 17:02:27 +0200 Subject: String literals are constant --- win/vncconfig/vncconfig.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win/vncconfig/vncconfig.cxx') 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); -- cgit v1.2.3