Patch level : 2.0 602

Files correlati     : tutti
Ricompilazione Demo : [ ]
Commento            :

Corretto errore di inizializzazione librerie


git-svn-id: svn://10.65.10.50/trunk@11498 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 2003-10-15 10:59:40 +00:00
parent f361fe31f3
commit 6ce6982407

View File

@ -1297,12 +1297,15 @@ bool TFilename::custom_path(const char* path_list)
if (!is_absolute_path()) if (!is_absolute_path())
{ {
TToken_string pl = path_list; TToken_string pl = path_list;
if (pl.empty_items()) if (pl.empty())
{ {
pl = firm2dir(prefix().get_codditta()); if (prefix_valid())
pl << SLASH << "custom"; {
pl.add(firm2dir(-1)); pl = firm2dir(prefix().get_codditta());
pl << "custom"; pl << SLASH << "custom";
pl.add(firm2dir(-1));
pl << "custom";
}
pl.add("custom"); pl.add("custom");
} }
const TString fname = name(); const TString fname = name();