don't use invalid options in the DSOP_INIT_INFO structure of the computer selection dialog Modified: trunk/reactos/subsys/system/regedit/framewnd.c _____
Modified: trunk/reactos/subsys/system/regedit/framewnd.c --- trunk/reactos/subsys/system/regedit/framewnd.c 2005-10-03 13:44:18 UTC (rev 18246) +++ trunk/reactos/subsys/system/regedit/framewnd.c 2005-10-03 14:42:34 UTC (rev 18247) @@ -570,7 +570,7 @@
if (SUCCEEDED(hRet)) { DSOP_INIT_INFO InitInfo; - DSOP_SCOPE_INIT_INFO Scopes[] = + static DSOP_SCOPE_INIT_INFO Scopes[] = { { sizeof(DSOP_SCOPE_INIT_INFO), @@ -597,7 +597,7 @@ InitInfo.pwzTargetComputer = NULL; InitInfo.cDsScopeInfos = sizeof(Scopes) / sizeof(Scopes[0]); InitInfo.aDsScopeInfos = Scopes; - InitInfo.flOptions = DSOP_SCOPE_TYPE_TARGET_COMPUTER; + InitInfo.flOptions = 0; InitInfo.cAttributesToFetch = 0; InitInfo.apwzAttributeNames = NULL;