From 185fb663f3db7260553c9a6a616944c46c673354 Mon Sep 17 00:00:00 2001 From: guy Date: Wed, 26 Nov 1997 14:11:05 +0000 Subject: [PATCH] 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 --- ba/ba0.cpp | 9 ++++++--- ba/bacnv.cpp | 5 ----- 2 files changed, 6 insertions(+), 8 deletions(-) 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);