mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
Regedit: Moved hEditMenu declaration to the top of the function
svn path=/trunk/; revision=18191
This commit is contained in:
parent
c1388efea5
commit
38ecd48776
1 changed files with 1 additions and 1 deletions
|
@ -73,6 +73,7 @@ TCHAR szChildClass[MAX_LOADSTRING];
|
||||||
BOOL InitInstance(HINSTANCE hInstance, int nCmdShow)
|
BOOL InitInstance(HINSTANCE hInstance, int nCmdShow)
|
||||||
{
|
{
|
||||||
BOOL AclUiAvailable;
|
BOOL AclUiAvailable;
|
||||||
|
HMENU hEditMenu;
|
||||||
|
|
||||||
WNDCLASSEX wcFrame = {
|
WNDCLASSEX wcFrame = {
|
||||||
sizeof(WNDCLASSEX),
|
sizeof(WNDCLASSEX),
|
||||||
|
@ -118,7 +119,6 @@ BOOL InitInstance(HINSTANCE hInstance, int nCmdShow)
|
||||||
/* Initialize the Windows Common Controls DLL */
|
/* Initialize the Windows Common Controls DLL */
|
||||||
InitCommonControls();
|
InitCommonControls();
|
||||||
|
|
||||||
HMENU hEditMenu;
|
|
||||||
hEditMenu = GetSubMenu(hMenuFrame, 1);
|
hEditMenu = GetSubMenu(hMenuFrame, 1);
|
||||||
|
|
||||||
AclUiAvailable = InitializeAclUiDll();
|
AclUiAvailable = InitializeAclUiDll();
|
||||||
|
|
Loading…
Reference in a new issue