]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/filesys.cpp
fix bug with not updating the last line correctly when a group was deleted and recrea...
[wxWidgets.git] / src / common / filesys.cpp
index 9e91441d040adcd5d7a3116df8b8350b1670c2b7..19675f7996b584fdfb133ae13e245b7b8124901e 100644 (file)
@@ -398,7 +398,7 @@ wxFSFile* wxFileSystem::OpenFile(const wxString& location, int flags)
     meta = 0;
     for (i = 0; i < ln; i++)
     {
-        switch (loc[i])
+        switch ( loc[i].GetValue() )
         {
             case wxT('/') : case wxT(':') : case wxT('#') :
                 meta = loc[i];