Correzioni al supporto per TParagraph String

git-svn-id: svn://10.65.10.50/trunk@1253 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 1995-04-14 17:11:07 +00:00
parent b8c361eaca
commit 592f7a1541

View File

@ -1,4 +1,4 @@
// $Id: printapp.cpp,v 1.21 1995-04-13 07:45:10 villa Exp $ // $Id: printapp.cpp,v 1.22 1995-04-14 17:11:07 alex Exp $
#include <ctype.h> #include <ctype.h>
#include <stdarg.h> #include <stdarg.h>
@ -1233,13 +1233,13 @@ bool TPrint_application::print_one (int file)
if (!(printer().print(*pr))) if (!(printer().print(*pr)))
break; break;
} }
if (_auto_ff && _maxrow < printer().formlen ()) if (_auto_ff && last /* _maxrox */ < printer().formlen ())
printer().formfeed (); printer().formfeed ();
delete pos; delete pos;
// TRUE if all rows have been printed // TRUE if all rows have been printed
// if stopped by preprocess_page returns ok // if stopped by preprocess_page returns ok
return i == _maxrow + 1; return i == last /*_maxrow */ + 1;
} }
bool TPrint_application::menu(MENU_TAG m) bool TPrint_application::menu(MENU_TAG m)