Author: tkreuzer
Date: Mon Nov 22 13:06:05 2010
New Revision: 49707
URL:
http://svn.reactos.org/svn/reactos?rev=49707&view=rev
Log:
[REGEDIT]
Fix syntax
Modified:
branches/cmake-bringup/base/applications/regedit/framewnd.c
Modified: branches/cmake-bringup/base/applications/regedit/framewnd.c
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/base/applications…
==============================================================================
--- branches/cmake-bringup/base/applications/regedit/framewnd.c [iso-8859-1] (original)
+++ branches/cmake-bringup/base/applications/regedit/framewnd.c [iso-8859-1] Mon Nov 22
13:06:05 2010
@@ -360,12 +360,14 @@
TCHAR Caption[128];
LPCTSTR pszKeyPath;
HKEY hRootKey;
+ LONG regUnloadResult;
+
/* get the item key to unload */
pszKeyPath = GetItemPath(g_pChildWnd->hTreeWnd, 0, &hRootKey);
/* load and set the caption and flags for dialog */
LoadString(hInst, IDS_UNLOAD_HIVE, Caption, COUNT_OF(Caption));
/* now unload the hive */
- LONG regUnloadResult = RegUnLoadKey(hRootKey, pszKeyPath);
+ regUnloadResult = RegUnLoadKey(hRootKey, pszKeyPath);
if(regUnloadResult == ERROR_SUCCESS)
{
/* refresh tree and list views */