diff --git a/EgtGeneral.rc b/EgtGeneral.rc index bffcb4b..dda34e4 100644 Binary files a/EgtGeneral.rc and b/EgtGeneral.rc differ diff --git a/FileUtils.cpp b/FileUtils.cpp index e721791..ad865a1 100644 --- a/FileUtils.cpp +++ b/FileUtils.cpp @@ -44,6 +44,9 @@ ExistsFile( const string& sFile) bool CopyFileEgt( const string& sFile, const string& sNewFile) { + // se sorgente e dstinazione coincidono + if ( EqualNoCase( sFile, sNewFile)) + return ExistsFile( sFile) ; // copio file if ( ::CopyFileW( stringtoW( sFile), stringtoW( sNewFile), false) == 0) return false ;