Patch #1271 2006-08-04 18:08

sethjackson

Bug #8254
Download
1271-Bug_8254.patch (769 bytes)
Category
Application::Bugfix
Status
Closed
Close date
2006-08-04 18:21
Assigned to
 
Index: src/sdk/configmanager.cpp
===================================================================
--- src/sdk/configmanager.cpp    (revision 2813)
+++ src/sdk/configmanager.cpp    (working copy)
@@ -602,7 +602,7 @@
 {
     Collapse(path);
 
-    wxString illegal(_T(" -:.\"$&()[]<>+#"));
+    wxString illegal(_T(" -:.\"\'$&()[]<>+#"));
     size_t i = 0;
     while((i = path.find_first_of(illegal, i)) != wxString::npos)
         path[i] = _T('_');
@@ -1093,10 +1093,9 @@
     wxString path(thePath);
     to_lower(path);
 
-
     Collapse(path);
 
-    wxString illegal(_T(" :.,;!\"$%&()[]<>{}?*+-|#"));
+    wxString illegal(_T(" :.,;!\"\'$%&()[]<>{}?*+-|#"));
     size_t i;
     while((i = path.find_first_of(illegal)) != wxString::npos)
         path[i] = _T('_');
sethjackson 2006-08-04 18:09
killerbot 2006-08-04 18:21

applied