[ros-diffs] [gedmurphy] 29501: only run the change code when we have the changed struct to work with.
gedmurphy at svn.reactos.org
gedmurphy at svn.reactos.org
Thu Oct 11 14:00:19 CEST 2007
Author: gedmurphy
Date: Thu Oct 11 16:00:19 2007
New Revision: 29501
URL: http://svn.reactos.org/svn/reactos?rev=29501&view=rev
Log:
only run the change code when we have the changed struct to work with.
Modified:
trunk/reactos/base/applications/mscutils/servman/mainwnd.c
Modified: trunk/reactos/base/applications/mscutils/servman/mainwnd.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mscutils/servman/mainwnd.c?rev=29501&r1=29500&r2=29501&view=diff
==============================================================================
--- trunk/reactos/base/applications/mscutils/servman/mainwnd.c (original)
+++ trunk/reactos/base/applications/mscutils/servman/mainwnd.c Thu Oct 11 16:00:19 2007
@@ -700,9 +700,11 @@
{
LPNMLISTVIEW pnmv = (LPNMLISTVIEW) lParam;
- ListViewSelectionChanged(Info, pnmv);
- SetMenuAndButtonStates(Info);
-
+ if (pnmv->uNewState != 0)
+ {
+ ListViewSelectionChanged(Info, pnmv);
+ SetMenuAndButtonStates(Info);
+ }
}
break;
More information about the Ros-diffs
mailing list