diff --git a/Attribs.cpp b/Attribs.cpp index 3eb2844..b9648a3 100644 --- a/Attribs.cpp +++ b/Attribs.cpp @@ -212,7 +212,7 @@ bool Attribs::SetName( const string& sName) { // se nome non valido, esco con errore - if ( ! IsValidVal( sName)) + if ( sName.empty() || ! IsValidVal( sName)) return false ; // puņ essere solo la prima stringa @@ -282,7 +282,7 @@ bool Attribs::SetInfo( const string& sKey, const string& sVal) { // se chiave o valore non validi, esco con errore - if ( ! IsValidKey( sKey) || ! IsValidVal( sVal)) + if ( ! IsValidKey( sKey) || sVal.empty() || ! IsValidVal( sVal)) return false ; // se č il nome diff --git a/EgtGeomKernel.rc b/EgtGeomKernel.rc index 0a0d3d7..e8fc6c6 100644 Binary files a/EgtGeomKernel.rc and b/EgtGeomKernel.rc differ