Patch level : 4.0 911
Files correlati : Ricompilazione Demo : [ ] Commento : Riportata la versione 3.2 1010 git-svn-id: svn://10.65.10.50/trunk@16357 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
6e3907a767
commit
9b8ebdb765
@ -710,34 +710,29 @@ bool list_custom_files(const char* ext, const char* classe, TString_array& files
|
||||
{
|
||||
TString_array lista;
|
||||
TFilename path;
|
||||
TWait_cursor hourglass;
|
||||
TFilename name = path.name();
|
||||
const bool wild = (name.find('*') >= 0) || (name.find('?') >= 0);
|
||||
|
||||
if (!wild)
|
||||
name = "*";
|
||||
|
||||
// Leggo i files in custom
|
||||
if (main_app().has_module(RSAUT))
|
||||
{
|
||||
TWait_cursor hourglass;
|
||||
TFilename custom = firm2dir(-1);
|
||||
custom.add("custom");
|
||||
if (!custom.exist())
|
||||
xvt_fsys_mkdir(custom);
|
||||
|
||||
TString_array files;
|
||||
TFilename name = path.name();
|
||||
const bool wild = (name.find('*') >= 0) || (name.find('?') >= 0);
|
||||
if (!wild)
|
||||
name = "*";
|
||||
|
||||
// Leggo i files in custom
|
||||
if (main_app().has_module(RSAUT))
|
||||
{
|
||||
TFilename custom = firm2dir(-1);
|
||||
custom.add("custom");
|
||||
if (!custom.exist())
|
||||
xvt_fsys_mkdir(custom);
|
||||
|
||||
path = custom;
|
||||
path.add(name);
|
||||
path.ext(ext);
|
||||
}
|
||||
list_files(path, lista);
|
||||
}
|
||||
path = name; path.ext(ext); // Leggo i files in campo
|
||||
path = custom;
|
||||
path.add(name);
|
||||
path.ext(ext);
|
||||
}
|
||||
list_files(path, lista);
|
||||
sort_files(lista); // Ordino i files e rimuovo i doppioni
|
||||
|
||||
path = name; path.ext(ext); // Leggo i files in campo
|
||||
list_files(path, lista);
|
||||
sort_files(lista); // Ordino i files e rimuovo i doppioni
|
||||
|
||||
TString8 acqua;
|
||||
TString stringona, desc;
|
||||
|
Loading…
x
Reference in New Issue
Block a user