From ed3c70e1502330d864352b741258d6bb723769c1 Mon Sep 17 00:00:00 2001 From: luca Date: Mon, 5 Sep 2005 11:21:27 +0000 Subject: [PATCH] Patch level :2.2 170 Files correlati :stampa rendiconto Ricompilazione Demo : [ ] Commento : Sistemato limite di identificatore nel ciclo dei campi conto della maschera generata git-svn-id: svn://10.65.10.50/trunk@13329 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- ca/ca3700.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ca/ca3700.cpp b/ca/ca3700.cpp index bdad228bb..e7cf59e21 100755 --- a/ca/ca3700.cpp +++ b/ca/ca3700.cpp @@ -1065,7 +1065,7 @@ void TPrint_rendiconto_ca_recordset::set_filter(const TPrint_rendiconto_ca_mask& //conti non riclassificati if (!_riclassificato) { - for (int i = 0; msk.id2pos(dlg_da+i) > 0; i++) + for (int i = 0; i < 4 && msk.id2pos(dlg_da+i) > 0; i++) { _daconto << msk.get(dlg_da+i); _aconto << msk.get(dlg_al+i); @@ -1073,7 +1073,7 @@ void TPrint_rendiconto_ca_recordset::set_filter(const TPrint_rendiconto_ca_mask& } else //conti riclassificati { - for (int i = 0; msk.id2pos(dlg_da+i) < 41; i++) //***41 andrebbe sostituito con una condizione + seria + for (int i = 0; i < 4 && msk.id2pos(dlg_da+i) > 0; i++) { _da_conto_riclas << msk.get(dlg_da+i); _a_conto_riclas << msk.get(dlg_al+i);