diff --git a/ba/ba0.cpp b/ba/ba0.cpp index e0e2a7ed7..4efdf2583 100755 --- a/ba/ba0.cpp +++ b/ba/ba0.cpp @@ -1455,9 +1455,12 @@ bool TMenu_application::choose_editors() FOR_EACH_ASSOC_STRING(var, obj, key, str) { TToken_string& row = sheet.row(-1); - row = key; - row.lower(); - row.add(str); + if (strlen(key) <= 3) + { + row = key; + row.lower(); + row.add(str); + } } sheet.rows_array().sort(); diff --git a/ba/bacnv.cpp b/ba/bacnv.cpp index b29fa3e09..71903646d 100755 --- a/ba/bacnv.cpp +++ b/ba/bacnv.cpp @@ -1557,17 +1557,12 @@ void TConversione_archivi::convert_cap() const TString msg; TToken_string com_cap(15, ','); - lf.format("%sstd/bacnv16d.txt", __ptprf); TScanner scan16d(lf); for (line = scan16d.line(); line.not_empty(); line = scan16d.line()) { const TString16 cod = line.get(0); const int logicnum = atoi(cod); - if (_codditta == 0L && logicnum == LF_OCCAS) // Il file degli occasionali non puo' essere comune - continue; - if (_codditta > 0L && logicnum <= LF_UNLOC) // Una volta iniziata la conversione ditte si possono saltare i files comuni - continue; TLocalisamfile* file = NULL; if (logicnum > 0) file = new TLocalisamfile(logicnum);