Correzione errori

git-svn-id: svn://10.65.10.50/trunk@3644 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
ale 1996-09-23 09:08:47 +00:00
parent cbf0aa9d4e
commit c6e0068a17

View File

@ -97,13 +97,13 @@ bool TDicForm::InitPrint(const long codditta)
} }
const bool was_open = pr.isopen(); const bool was_open = pr.isopen();
if (!was_open && !pr.open())
return FALSE;
set_last_page(FALSE); set_last_page(FALSE);
// set_background(1, TRUE); // set_background(1, TRUE);
set_curr_page(PRIMA); set_curr_page(PRIMA);
if (!was_open && !pr.open())
return FALSE;
do_events(); do_events();
_Items = filtra(codditta); _Items = filtra(codditta);
@ -639,7 +639,8 @@ void TDicForm::stampa_testata(TPrinter& pr)
r.reset(); r.reset();
HEADER_PRIMA_NOPOS--; HEADER_PRIMA_NOPOS--;
} }
if (!PaginaPosizionamento()) fill_page(pr, HEADER_PRIMA_NOPOS); if (!PaginaPosizionamento())
fill_page(pr, HEADER_PRIMA_NOPOS);
} }
else else
{ {