mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 20:53:02 +00:00
[REGEDIT] Strip redundant include, minor formatting (#5264)
strsafe.h is already included via regedit.h
This commit is contained in:
parent
aaeb131bd4
commit
31fdaca8c0
5 changed files with 8 additions and 9 deletions
|
@ -674,7 +674,7 @@ BOOL TreeWndNotifyProc(HWND hWnd, WPARAM wParam, LPARAM lParam, BOOL *Result)
|
|||
break;
|
||||
case TVN_BEGINLABELEDIT:
|
||||
{
|
||||
LPNMTVDISPINFO ptvdi = (LPNMTVDISPINFO) lParam;
|
||||
LPNMTVDISPINFO ptvdi = (LPNMTVDISPINFO)lParam;
|
||||
/* cancel label edit for rootkeys */
|
||||
if (!TreeView_GetParent(g_pChildWnd->hTreeWnd, ptvdi->item.hItem) ||
|
||||
!TreeView_GetParent(g_pChildWnd->hTreeWnd, TreeView_GetParent(g_pChildWnd->hTreeWnd, ptvdi->item.hItem)))
|
||||
|
@ -692,7 +692,7 @@ BOOL TreeWndNotifyProc(HWND hWnd, WPARAM wParam, LPARAM lParam, BOOL *Result)
|
|||
LPCWSTR keyPath;
|
||||
HKEY hRootKey;
|
||||
HKEY hKey = NULL;
|
||||
LPNMTVDISPINFO ptvdi = (LPNMTVDISPINFO) lParam;
|
||||
LPNMTVDISPINFO ptvdi = (LPNMTVDISPINFO)lParam;
|
||||
LONG nRenResult;
|
||||
LONG lResult = TRUE;
|
||||
WCHAR szBuffer[MAX_PATH];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue