mshtml/tests: Fix the get_event_src() macro declaration.

Francois Gouget fgouget at free.fr
Sun Dec 6 06:43:25 CST 2009


---

As far as I can tell it's a copy/paste error from test_event_src() and 
get_event_src() was never meant to take a parameter (and is only ever 
called (once) without one).


 dlls/mshtml/tests/events.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/mshtml/tests/events.c b/dlls/mshtml/tests/events.c
index 46bbd4f..eac72a6 100644
--- a/dlls/mshtml/tests/events.c
+++ b/dlls/mshtml/tests/events.c
@@ -342,7 +342,7 @@ static void _test_attached_event_args(unsigned line, DISPID id, WORD wFlags, DIS
     IHTMLEventObj_Release(event);
 }
 
-#define get_event_src(t) _get_event_src(__LINE__)
+#define get_event_src() _get_event_src(__LINE__)
 static IHTMLElement *_get_event_src(unsigned line)
 {
     IHTMLEventObj *event = _get_event_obj(line);
-- 
1.6.5



More information about the wine-patches mailing list