[PATCH 1/2] mshtml: Fix a copy-paste error.

Zebediah Figura z.figura12 at gmail.com
Sun May 19 11:16:33 CDT 2019


Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
 dlls/mshtml/dispex.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/mshtml/dispex.c b/dlls/mshtml/dispex.c
index e637f131d0..2033e90872 100644
--- a/dlls/mshtml/dispex.c
+++ b/dlls/mshtml/dispex.c
@@ -299,7 +299,7 @@ static void add_func_info(dispex_data_t *data, tid_t tid, const FUNCDESC *desc,
         if(!info->arg_types)
             return;
         info->arg_info = heap_alloc_zero(sizeof(*info->arg_info) * info->argc);
-        if(!info->arg_types)
+        if(!info->arg_info)
             return;
 
         for(i=0; i < info->argc; i++)
-- 
2.21.0




More information about the wine-devel mailing list