]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/url.cpp
debug check for infinite loop in InitializeClasses() added
[wxWidgets.git] / src / common / url.cpp
index 203beef31d03c4738fb53e8ab25cc9d9569bea57..71cae1f2f733eedc9d8b80c078edbdd9488b2787 100644 (file)
@@ -162,7 +162,7 @@ bool wxURL::PrepHost(wxString& url)
   wxString temp_url;
   int pos, pos2;
 
-  if ((url.GetChar(0) != '/') || (url.GetChar(1) != '/'))
+  if ((url.GetChar(0) != wxT('/')) || (url.GetChar(1) != wxT('/')))
     return FALSE;
 
   url = url(2, url.Length());
@@ -240,7 +240,7 @@ bool wxURL::FetchProtocol()
 // --------- wxURL get ------------------------------------------
 // --------------------------------------------------------------
 
-wxInputStream *wxURL::GetInputStream(void)
+wxInputStream *wxURL::GetInputStream()
 {
   wxInputStream *the_i_stream = NULL;