Corretto errore di formattazione del file

git-svn-id: svn://10.65.10.50/trunk@510 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
nik 1994-11-02 11:25:38 +00:00
parent 43817827af
commit 9f80c0bc3c

View File

@ -199,7 +199,7 @@ print_action CG1100_application::postprocess_page(int file,int counter)
{ {
//const char * buf; //const char * buf;
struct bil_ivd* bil = (struct bil_ivd*) _buf; struct bil_ivd* bil = (struct bil_ivd*) _buf;
/* /*
if (_sez_da_stamp != _sez_stamp) if (_sez_da_stamp != _sez_stamp)
{ {
if (_sez_da_stamp == '5' || _sez_da_stamp == '9') if (_sez_da_stamp == '5' || _sez_da_stamp == '9')
@ -214,7 +214,7 @@ print_action CG1100_application::postprocess_page(int file,int counter)
} }
else else
_resetta_righe_stampa = TRUE; _resetta_righe_stampa = TRUE;
*/ */
_sez_stamp = _sez_da_stamp; _sez_stamp = _sez_da_stamp;
_let_stamp = _let_da_stamp; _let_stamp = _let_da_stamp;
_numr_stamp = _numr_da_stamp; _numr_stamp = _numr_da_stamp;
@ -258,22 +258,22 @@ void CG1100_application::set_page(int file,int counter)
{ {
case con_IV_direttiva: case con_IV_direttiva:
{ {
// if (_resetta_righe_stampa) // if (_resetta_righe_stampa)
// { // {
reset_print(); reset_print();
_i = 1; _i = 1;
// } // }
if (_sez_da_stamp != _sez_stamp) if (_sez_da_stamp != _sez_stamp)
// { // {
// if (_sez_da_stamp=='1' || _sez_da_stamp=='2') // if (_sez_da_stamp=='1' || _sez_da_stamp=='2')
set_con_IV (); set_con_IV ();
// if (_sez_da_stamp == '5' || _sez_da_stamp == '9') // if (_sez_da_stamp == '5' || _sez_da_stamp == '9')
// { // {
// set_row (_i,"%s",""); // set_row (_i,"%s","");
// set_auto_ff(TRUE); // set_auto_ff(TRUE);
// } // }
// } // }
else else
if (_buf != NULL) if (_buf != NULL)
set_con_IV(); set_con_IV();
@ -288,9 +288,9 @@ void CG1100_application::set_page(int file,int counter)
case senza_ana_bil: case senza_ana_bil:
set_senza_ana(); set_senza_ana();
break; break;
default: default:
break; break;
} }
} }
////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////
@ -429,7 +429,7 @@ void CG1100_application::scegli_cur()
bool CG1100_application::preprocess_print (int file,int counter) bool CG1100_application::preprocess_print (int file,int counter)
{ {
//scegli_cur(); //scegli_cur();
switch (_tipo_stampa) switch (_tipo_stampa)
{ {
case con_IV_direttiva: case con_IV_direttiva:
@ -456,9 +456,9 @@ bool CG1100_application::preprocess_print (int file,int counter)
return FALSE; return FALSE;
} }
break; break;
default: default:
break; break;
} }
return TRUE; return TRUE;
} }
@ -774,7 +774,7 @@ void CG1100_application::set_completa()
FLD(LF_PCON, PCN_SOTTOCONTO, "######")); FLD(LF_PCON, PCN_SOTTOCONTO, "######"));
// set_row (1, "@16g@50s", FLD(LF_PCON,PCN_DESCR) ); // set_row (1, "@16g@50s", FLD(LF_PCON,PCN_DESCR) );
set_row (i, "@16g%.40s", (const char*) desc); set_row (i, "@16g%.40s", (const char*) desc);
if (sezione != '0' && sezione != '9') if (sezione != '0' && sezione != '9')