Detlef Riekenberg : regedit: Declare some variables static.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Feb 8 06:20:32 CST 2007


Module: wine
Branch: master
Commit: cccd55a9dc8f73a69e3fe8426a0084403420f364
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=cccd55a9dc8f73a69e3fe8426a0084403420f364

Author: Detlef Riekenberg <wine.dev at web.de>
Date:   Wed Feb  7 23:48:29 2007 +0100

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)
 {




More information about the wine-cvs mailing list