Corretta costruzione del nome temporaneo

git-svn-id: svn://10.65.10.50/trunk@967 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 1995-02-06 10:33:02 +00:00
parent d8fd9aa5f7
commit bcdd621fb5

View File

@ -667,12 +667,12 @@ const TFilename& TFilename::tempdir()
#ifndef FOXPRO
TString user = TApplication::user();
user.lower();
if (res == 0 && user.not_empty())
if (res == 0)
{
if (_tempdir.find(user) < 0)
TString16 user(TApplication::user());
user.lower();
if (_tempdir.find(user) != _tempdir.len() - user.len())
#if XVT_OS==XVT_OS_SCOUNIX
_tempdir << '/' << user;
#else