Fix of recent fix for POSIX...

git-svn-id: svn://ultimatepp.org/upp/trunk@1621 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2009-10-09 12:49:21 +00:00
parent 808faf53cc
commit 81e4fd2eed
2 changed files with 2 additions and 2 deletions

View file

@ -300,7 +300,7 @@ void AppInit__(int argc, const char **argv, const char **envptr)
String varname(b, var);
if(*var == '=')
var++;
EnvMap().Add(varname.ToWString(), var.ToWString());
EnvMap().Add(varname.ToWString(), String(var).ToWString());
}
Vector<String>& cmd = coreCmdLine__();
for(int i = 1; i < argc; i++)

View file

@ -438,4 +438,4 @@ public:
DropTree& DropWidthZ(int w) { dropwidth = HorzLayoutZoom(w); return *this; }
DropTree();
};
};