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:
alex 2008-03-21 09:37:21 +00:00
parent 6e3907a767
commit 9b8ebdb765

View File

@ -710,13 +710,10 @@ bool list_custom_files(const char* ext, const char* classe, TString_array& files
{ {
TString_array lista; TString_array lista;
TFilename path; TFilename path;
{
TWait_cursor hourglass; TWait_cursor hourglass;
TString_array files;
TFilename name = path.name(); TFilename name = path.name();
const bool wild = (name.find('*') >= 0) || (name.find('?') >= 0); const bool wild = (name.find('*') >= 0) || (name.find('?') >= 0);
if (!wild) if (!wild)
name = "*"; name = "*";
@ -733,12 +730,10 @@ bool list_custom_files(const char* ext, const char* classe, TString_array& files
path.ext(ext); path.ext(ext);
} }
list_files(path, lista); list_files(path, lista);
}
path = name; path.ext(ext); // Leggo i files in campo path = name; path.ext(ext); // Leggo i files in campo
list_files(path, lista); list_files(path, lista);
sort_files(lista); // Ordino i files e rimuovo i doppioni sort_files(lista); // Ordino i files e rimuovo i doppioni
TString8 acqua; TString8 acqua;
TString stringona, desc; TString stringona, desc;