Rob Shearman : ole32: The advise sink for the data cache should be primed with the passed in aspects value , not an arbitrarily selected value.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Dec 4 07:16:52 CST 2006


Module: wine
Branch: master
Commit: 4b7e8e73a4d0e4128122eacc89fcb909de0bfc03
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=4b7e8e73a4d0e4128122eacc89fcb909de0bfc03

Author: Rob Shearman <rob at codeweavers.com>
Date:   Fri Dec  1 15:02:40 2006 +0000

ole32: The advise sink for the data cache should be primed with the passed in aspects value, not an arbitrarily selected value.

---

 dlls/ole32/datacache.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/dlls/ole32/datacache.c b/dlls/ole32/datacache.c
index 99fd0e8..6ab4187 100644
--- a/dlls/ole32/datacache.c
+++ b/dlls/ole32/datacache.c
@@ -1503,9 +1503,7 @@ static HRESULT WINAPI DataCache_SetAdvis
    */
   if (advf & ADVF_PRIMEFIRST)
   {
-    DataCache_FireOnViewChange(this,
-			       DVASPECT_CONTENT,
-			       -1);
+    DataCache_FireOnViewChange(this, aspects, -1);
   }
 
   return S_OK;




More information about the wine-cvs mailing list