[ros-diffs] [weiden] 33923: Fix a small bug
weiden at svn.reactos.org
weiden at svn.reactos.org
Wed Jun 11 05:36:22 CEST 2008
Author: weiden
Date: Tue Jun 10 22:36:21 2008
New Revision: 33923
URL: http://svn.reactos.org/svn/reactos?rev=33923&view=rev
Log:
Fix a small bug
Modified:
trunk/reactos/base/shell/explorer-new/tbsite.c
Modified: trunk/reactos/base/shell/explorer-new/tbsite.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/explorer-new/tbsite.c?rev=33923&r1=33922&r2=33923&view=diff
==============================================================================
--- trunk/reactos/base/shell/explorer-new/tbsite.c [iso-8859-1] (original)
+++ trunk/reactos/base/shell/explorer-new/tbsite.c [iso-8859-1] Tue Jun 10 22:36:21 2008
@@ -573,6 +573,8 @@
if (ppstb != NULL)
*ppstb = pstb;
}
+ else if (ppstb != NULL)
+ *ppstb = NULL;
return hRet;
}
@@ -730,7 +732,7 @@
&dwBandID)))
{
if (SUCCEEDED(IBandSite_GetBandObject(This->BandSite,
- uBand,
+ dwBandID,
&IID_IOleCommandTarget,
(PVOID*)&pOct)))
{
More information about the Ros-diffs
mailing list