Correzione alla fill_page

git-svn-id: svn://10.65.10.50/trunk@1485 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 1995-06-19 14:08:05 +00:00
parent 42adacd51a
commit 52d450f7f0

View File

@ -864,12 +864,12 @@ bool CG3400_application::cancel_hook()
void CG3400_application::fill_page(int riga) void CG3400_application::fill_page(int riga)
{ {
TString256 rigas; TString256 rigas;
// char frm[4]; // char frm[4];
int r_l = printer().rows_left() - RIGHE_FOOTER; int r_l = printer().rows_left() - 1;
// Se sono rimaste righe da riempire // Se sono rimaste righe da riempire
if (r_l) if (r_l > 0)
{ {
rigas.fill('=', _stampa_width); rigas.fill('=', _stampa_width);
rigas.cut(_stampa_width+1); rigas.cut(_stampa_width+1);