Marcus Meissner : mshtml: Fixed reversed NULl check.
Module: wine Branch: master Commit: 521eafdec0ffa165f15357cff80bc7315a452e1b URL: http://source.winehq.org/git/wine.git/?a=commit;h=521eafdec0ffa165f15357cff8... Author: Marcus Meissner <marcus(a)jet.franken.de> Date: Thu Oct 30 23:33:57 2008 +0100 mshtml: Fixed reversed NULl check. --- dlls/mshtml/editor.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/mshtml/editor.c b/dlls/mshtml/editor.c index 4e02155..efbaf23 100644 --- a/dlls/mshtml/editor.c +++ b/dlls/mshtml/editor.c @@ -1176,7 +1176,7 @@ static HRESULT exec_hyperlink(HTMLDocument *This, DWORD cmdexecopt, VARIANT *in, return OLECMDERR_E_CANCELED; } - if(This->nsdoc) { + if(!This->nsdoc) { WARN("NULL nsdoc\n"); return E_UNEXPECTED; }
participants (1)
-
Alexandre Julliard