From 4b964b82104fb3a0949faaa6434583ca4bd750fa Mon Sep 17 00:00:00 2001 From: Hugh McMaster Date: Thu, 14 Apr 2022 23:01:42 +1000 Subject: [PATCH] regedit: Mark WCHAR szTitle static. Signed-off-by: Hugh McMaster Signed-off-by: Alexandre Julliard --- programs/regedit/main.c | 2 +- programs/regedit/main.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/programs/regedit/main.c b/programs/regedit/main.c index 664821f6a5d..ecc06a5280e 100644 --- a/programs/regedit/main.c +++ b/programs/regedit/main.c @@ -51,7 +51,7 @@ HMENU hPopupMenus = 0; UINT nClipboardFormat; #define MAX_LOADSTRING 100 -WCHAR szTitle[MAX_LOADSTRING]; +static WCHAR szTitle[MAX_LOADSTRING]; const WCHAR szChildClass[] = L"REGEDIT"; static const WCHAR szFrameClass[] = L"RegEdit_RegEdit"; diff --git a/programs/regedit/main.h b/programs/regedit/main.h index d32000f78ac..29ecb433916 100644 --- a/programs/regedit/main.h +++ b/programs/regedit/main.h @@ -95,7 +95,6 @@ extern HMENU hPopupMenus; extern HFONT hFont; extern enum OPTION_FLAGS Options; -extern WCHAR szTitle[]; extern const WCHAR szChildClass[]; extern const WCHAR szHexEditClass[]; extern WCHAR g_pszDefaultValueName[];