mirror of
https://github.com/reactos/reactos.git
synced 2024-07-09 06:05:11 +00:00
only run the change code when we have the changed struct to work with.
svn path=/trunk/; revision=29501
This commit is contained in:
parent
d8f1cef2f6
commit
8c49001628
|
@ -700,9 +700,11 @@ MainWndProc(HWND hwnd,
|
|||
{
|
||||
LPNMLISTVIEW pnmv = (LPNMLISTVIEW) lParam;
|
||||
|
||||
ListViewSelectionChanged(Info, pnmv);
|
||||
SetMenuAndButtonStates(Info);
|
||||
|
||||
if (pnmv->uNewState != 0)
|
||||
{
|
||||
ListViewSelectionChanged(Info, pnmv);
|
||||
SetMenuAndButtonStates(Info);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue