Update of /cvsroot/mahogany/M/src/util
In directory sc8-pr-cvs1:/tmp/cvs-serv10114/src/util
Modified Files:
upgrade.cpp
Log Message:
don't expand env vars when copying the entries
Index: upgrade.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/util/upgrade.cpp,v
retrieving revision 1.210
retrieving revision 1.211
diff -b -u -2 -r1.210 -r1.211
--- upgrade.cpp 29 Aug 2003 00:05:07 -0000 1.210
+++ upgrade.cpp 31 Aug 2003 19:23:32 -0000 1.211
@@ -1994,4 +1994,8 @@
wxConfigBase *dest)
{
+ // we shouldn't expand the env variables when copying entries
+ bool expandEnvVarsOld = src->IsExpandingEnvVars();
+ src->SetExpandEnvVars(false);
+
wxString oldPath = src->GetPath();
@@ -2105,4 +2109,5 @@
src->SetPath(oldPath);
+ src->SetExpandEnvVars(expandEnvVarsOld);
return numCopied;
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates