regedit: Declare some variables static
Detlef Riekenberg
wine.dev at web.de
Wed Feb 7 16:48:29 CST 2007
Changelog:
regedit: Declare some variables static
This Patch does not depend on the other regedit-patches
--
By by ... Detlef
-------------- next part --------------
>From afc5233fa3629d73de70f255846afe30f8527387 Mon Sep 17 00:00:00 2001
From: Detlef Riekenberg <wine.dev at web.de>
Date: Wed, 7 Feb 2007 20:06:30 +0100
Subject: [PATCH] regedit: Declare some variables static
---
programs/regedit/framewnd.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/programs/regedit/framewnd.c b/programs/regedit/framewnd.c
index bb05ea4..006e802 100644
--- a/programs/regedit/framewnd.c
+++ b/programs/regedit/framewnd.c
@@ -42,6 +42,10 @@ static TCHAR favoriteName[128];
static TCHAR searchString[128];
static int searchMask = SEARCH_KEYS | SEARCH_VALUES | SEARCH_CONTENT;
+static TCHAR FileNameBuffer[_MAX_PATH];
+static TCHAR FileTitleBuffer[_MAX_PATH];
+static TCHAR FilterBuffer[_MAX_PATH];
+
/*******************************************************************************
* Local module support methods
*/
@@ -286,9 +290,6 @@ static UINT_PTR CALLBACK ExportRegistryF
return 0L;
}
-TCHAR FileNameBuffer[_MAX_PATH];
-TCHAR FileTitleBuffer[_MAX_PATH];
-TCHAR FilterBuffer[_MAX_PATH];
static BOOL InitOpenFileName(HWND hWnd, OPENFILENAME *pofn)
{
--
1.4.1
More information about the wine-patches
mailing list