Update of /cvsroot/mahogany/M/src/classes
In directory usw-pr-cvs1:/tmp/cvs-serv29463/classes

Modified Files:
        Profile.cpp 
Log Message:
don't duplicate the slash in the config directory name

Index: Profile.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/Profile.cpp,v
retrieving revision 1.129
retrieving revision 1.130
diff -b -u -2 -r1.129 -r1.130
--- Profile.cpp 14 Apr 2002 12:51:50 -0000      1.129
+++ Profile.cpp 22 Apr 2002 16:35:32 -0000      1.130
@@ -815,5 +815,5 @@
       //else: it will be in the current one, what else can we do?
 
-      strConfFile << "/." << M_APPLICATIONNAME;
+      strConfFile << '.' << M_APPLICATIONNAME;
 
       if ( !wxDir::Exists(strConfFile) )
@@ -826,9 +826,7 @@
             return NULL;
          }
-         else
-         {
+
             wxLogInfo(_("Created directory '%s' for configuration files."),
                       strConfFile.c_str());
-         }
 
          // also create an empty config file with the right permissions:


_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to