]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/winpars.cpp
Typos and other fixes
[wxWidgets.git] / src / html / winpars.cpp
index 151573bd3f72f7cb5eb5327dc21efc3615a34f68..796489d850e3ed9df6f2ea84bdc305957c6a5dca 100644 (file)
@@ -201,11 +201,11 @@ wxFSFile *wxHtmlWinParser::OpenURL(wxHtmlURLType type,
 
         if ( status == wxHTML_BLOCK )
             return NULL;
-        else
-            return GetFS()->OpenFile(myurl);
+
+        return GetFS()->OpenFile(myurl);
     }
-    else
-        return wxHtmlParser::OpenURL(type, url);
+
+    return wxHtmlParser::OpenURL(type, url);
 }
 
 void wxHtmlWinParser::AddText(const wxChar* txt)