Regedit: Moved hEditMenu declaration to the top of the function
Modified: trunk/reactos/subsys/system/regedit/main.c
_____
Modified: trunk/reactos/subsys/system/regedit/main.c
--- trunk/reactos/subsys/system/regedit/main.c 2005-10-01 14:38:10 UTC
(rev 18190)
+++ trunk/reactos/subsys/system/regedit/main.c 2005-10-01 15:11:31 UTC
(rev 18191)
@@ -73,6 +73,7 @@
BOOL InitInstance(HINSTANCE hInstance, int nCmdShow)
{
BOOL AclUiAvailable;
+ HMENU hEditMenu;
WNDCLASSEX wcFrame = {
sizeof(WNDCLASSEX),
@@ -118,7 +119,6 @@
/* Initialize the Windows Common Controls DLL */
InitCommonControls();
- HMENU hEditMenu;
hEditMenu = GetSubMenu(hMenuFrame, 1);
AclUiAvailable = InitializeAclUiDll();
Show replies by date