ba0.cpp Controllate le estensioni del paragrafo Links

bacnv.cpp Tolti casi particolari su LF_OCCAS ed altri file di ditta


git-svn-id: svn://10.65.10.50/trunk@5667 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 1997-11-26 14:11:05 +00:00
parent 42f44f1d9e
commit 185fb663f3
2 changed files with 6 additions and 8 deletions

View File

@ -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();

View File

@ -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);