Errorini, erroroni

git-svn-id: svn://10.65.10.50/trunk@244 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
villa 1994-09-15 07:56:07 +00:00
parent 7c792335de
commit 38fd71093b
3 changed files with 1520 additions and 1520 deletions

View File

@ -1,4 +1,4 @@
// $Id: printapp.cpp,v 1.8 1994-09-15 07:52:43 villa Exp $ // $Id: printapp.cpp,v 1.9 1994-09-15 07:55:59 villa Exp $
#include <ctype.h> #include <ctype.h>
#include <stdarg.h> #include <stdarg.h>
@ -762,7 +762,7 @@ void TPrint_application::print()
// only external apps can change it // only external apps can change it
_repeat_print = FALSE; _repeat_print = FALSE;
ncopies = printer().n_copies(); int ncopies = printer().n_copies();
// never print multiple copies if printer is viswin // never print multiple copies if printer is viswin
// only application may repeat printing by setting _repeat_print // only application may repeat printing by setting _repeat_print

View File

@ -662,7 +662,7 @@ TPrinter::TPrinter()
_headersize = 0; _headersize = 0;
_footersize = 0; _footersize = 0;
_isopen = FALSE; _isopen = FALSE;
_multiple_copies = MainApp()->class_id() == CLASS_PRINTER_APPLICATION; _multiple_copies = MainApp()->class_id() == CLASS_PRINT_APPLICATION;
// read configuration file // read configuration file
read_configuration (_config); read_configuration (_config);

View File

@ -231,8 +231,8 @@ public:
TArray* getbgdesc() { return &_background; } TArray* getbgdesc() { return &_background; }
bool frozen() { return _frozen; } bool frozen() { return _frozen; }
void freeze(bool b = TRUE) { _frozen = b; } void freeze(bool b = TRUE) { _frozen = b; }
int n_copies() { return _ncopies; } int n_copies() { return _ncopies; }
void enable_multiple_copies(bool b = TRUE) { _multiple_copies = b; } void enable_multiple_copies(bool b = TRUE) { _multiple_copies = b; }
TToken_string& getprinternames(); TToken_string& getprinternames();
TTextfile& get_txt() { return _txt; } TTextfile& get_txt() { return _txt; }