EgtGeneral 1.8c1 :

- Ricompilazione per modifiche a controllo validità nomi.
This commit is contained in:
Dario Sassi
2017-03-02 18:00:49 +00:00
parent 143b7d46df
commit 054b1905c9
2 changed files with 4 additions and 8 deletions
+4 -8
View File
@@ -181,16 +181,12 @@ ExistsDirectory( const string& sDir)
bool
EmptyDirectory( const string& sDir)
{
wstring sDirW ;
wstring sFileW ;
_wfinddata_t c_file ;
intptr_t hFile ;
sDirW = stringtoW( sDir) ;
sFileW = sDirW + L"\\*.*" ;
wstring sDirW = stringtoW( sDir) ;
wstring sFileW = sDirW + L"\\*.*" ;
// ciclo su tutti i file del direttorio
_wfinddata_t c_file ;
intptr_t hFile ;
if ( ( hFile = _wfindfirst( sFileW.c_str(), &c_file)) != -1L) {
do {
if ( c_file.attrib != _A_SUBDIR) {