inetcpl.cpl: Minor fix, remove useless code.

This commit is contained in:
Carlo Bramini 2013-03-16 19:53:40 +01:00 committed by Alexandre Julliard
parent b7a75b468a
commit fd7f0517c7

View file

@ -134,8 +134,7 @@ static void update_zone_info(secdlg_data *sd, DWORD lv_index)
SetWindowTextW(GetDlgItem(sd->hsec, IDC_SEC_ZONE_INFO), za->szDescription);
LoadStringW(hcpl, IDS_SEC_SETTINGS, name, sizeof(name)/sizeof(*name));
len = lstrlenW(name);
len = LoadStringW(hcpl, IDS_SEC_SETTINGS, name, sizeof(name)/sizeof(*name));
lstrcpynW(&name[len], za->szDisplayName, sizeof(name)/sizeof(*name) - len - 1);
TRACE("new title: %s\n", debugstr_w(name));