Hugh McMaster : regedit: Mark WCHAR szTitle static.
Alexandre Julliard
julliard at winehq.org
Tue Apr 19 16:20:14 CDT 2022
Module: wine
Branch: master
Commit: 4b964b82104fb3a0949faaa6434583ca4bd750fa
URL: https://source.winehq.org/git/wine.git/?a=commit;h=4b964b82104fb3a0949faaa6434583ca4bd750fa
Author: Hugh McMaster <hugh.mcmaster at outlook.com>
Date: Thu Apr 14 23:01:42 2022 +1000
regedit: Mark WCHAR szTitle static.
Signed-off-by: Hugh McMaster <hugh.mcmaster at outlook.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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[];
More information about the wine-cvs
mailing list