mshtml: Fixed crash in tests if Gecko is not available.

This commit is contained in:
Jacek Caban 2008-03-26 15:24:50 +01:00 committed by Alexandre Julliard
parent e2645dec1c
commit 4a46a0193a
1 changed files with 3 additions and 0 deletions

View File

@ -432,7 +432,10 @@ static void test_simple_script(void)
IHTMLDocument2 *doc;
SET_EXPECT(CreateInstance);
doc = create_and_load_doc(simple_script_str);
if(!doc) return;
CHECK_CALLED(CreateInstance);
IHTMLDocument2_Release(doc);