Vitaliy Margolen : mshtml: Fix typo.

Alexandre Julliard julliard at winehq.org
Mon Sep 24 08:07:55 CDT 2007


Module: wine
Branch: master
Commit: 201e03b87a6f4b2f035a3382bcbac1db793594b0
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=201e03b87a6f4b2f035a3382bcbac1db793594b0

Author: Vitaliy Margolen <wine-patches at kievinfo.com>
Date:   Fri Sep 21 21:43:13 2007 -0600

mshtml: Fix typo.

---

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

diff --git a/dlls/mshtml/htmlelem.c b/dlls/mshtml/htmlelem.c
index 05071d8..77d50b0 100644
--- a/dlls/mshtml/htmlelem.c
+++ b/dlls/mshtml/htmlelem.c
@@ -1291,7 +1291,7 @@ HTMLElement *HTMLElement_Create(nsIDOMNode *nsnode)
         ret = HTMLBodyElement_Create(nselem);
     else if(!strcmpW(class_name, wszINPUT))
         ret = HTMLInputElement_Create(nselem);
-    if(!strcmpW(class_name, wszSELECT))
+    else if(!strcmpW(class_name, wszSELECT))
         ret = HTMLSelectElement_Create(nselem);
     else if(!strcmpW(class_name, wszTEXTAREA))
         ret = HTMLTextAreaElement_Create(nselem);




More information about the wine-cvs mailing list