[Wine-patches] mshtml: Allow VT_UINT in IHTMLItemCollection_item (fix eterbug #3787)

Konstantin Kondratyuk =?iso-8859-1?q?kondratyuk_=CE=C1_etersoft=2Eru?=
Вт Апр 7 17:51:34 MSD 2009


-- 
Best regards,
Konstantin Kondratyuk.
----------- следующая часть -----------
From 9f8c6a81c1b18d9e60bd33eba58ccb0c9853bd22 Mon Sep 17 00:00:00 2001
From: Konstantin Kondratyuk <kondratyuk на etersoft.ru>
Date: Tue, 7 Apr 2009 17:40:38 +0400
Subject: [PATCH] mshtml: Allow VT_UINT in IHTMLItemCollection_item (fix eterbug #3787)

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

diff --git a/dlls/mshtml/htmlelemcol.c b/dlls/mshtml/htmlelemcol.c
index 89b8436..76d6ab4 100644
--- a/dlls/mshtml/htmlelemcol.c
+++ b/dlls/mshtml/htmlelemcol.c
@@ -259,7 +259,7 @@ static HRESULT WINAPI HTMLElementCollection_item(IHTMLElementCollection *iface,
         return S_OK;
     }
 
-    if(V_VT(&name) == VT_INT) {
+    if(V_VT(&name) == VT_INT || V_VT(&name) == VT_UINT) {
         TRACE("name is VT_INT: %d\n", V_INT(&name));
 
         if(V_INT(&name) < 0)
-- 
1.6.1.3.GIT



Подробная информация о списке рассылки Wine-patches