*
*/
-#define COBJMACROS
-#define CONST_VTABLE
-#define NONAMELESSUNION
-
-#include <stdarg.h>
-#include <windef.h>
-#include <winbase.h>
-#include <winuser.h>
-#include <prsht.h>
-#include "commctrl.h"
-
-#include "ole2.h"
-#include "urlmon.h"
-#include "initguid.h"
-#include "winreg.h"
-#include "shlwapi.h"
-
#include "inetcpl.h"
-#include "wine/debug.h"
-
-WINE_DEFAULT_DEBUG_CHANNEL(inetcpl);
typedef struct secdlg_data_s {
HWND hsec; /* security propsheet */
#define NUM_TRACKBAR_POS 5
-static WCHAR spaceW[] = {' ',0};
static DWORD url_templates[] = {URLTEMPLATE_CUSTOM,
URLTEMPLATE_LOW,
URLTEMPLATE_MEDLOW,
SetWindowTextW(GetDlgItem(sd->hsec, IDC_SEC_ZONE_INFO), za->szDescription);
- name[0] = ' ';
- name[1] = 0;
-
- LoadStringW(hcpl, IDS_SEC_SETTINGS, &name[1], sizeof(name)/sizeof(name[0]) - 3);
- len = lstrlenW(name);
- lstrcpynW(&name[len], za->szDisplayName, sizeof(name)/sizeof(name[0]) - len - 3);
- lstrcatW(name, spaceW);
+ 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));
SetWindowTextW(GetDlgItem(sd->hsec, IDC_SEC_GROUP), name);