diff options
| author | Manolo Gouy <Manolo> | 2010-03-27 08:16:56 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2010-03-27 08:16:56 +0000 |
| commit | 506fa9d03492189c33f4a86189eda52bffe64b91 (patch) | |
| tree | 41e193bb3d1e6badeb481bac1a9736298b8d6f54 /src/Fl_PS_Printer.cxx | |
| parent | 8863c6d21fe4bb87e8870134b571e87d34fccaf7 (diff) | |
Minor improvement of printing preferences storage
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7344 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_PS_Printer.cxx')
| -rw-r--r-- | src/Fl_PS_Printer.cxx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/Fl_PS_Printer.cxx b/src/Fl_PS_Printer.cxx index eb9268e4c..16ca06239 100644 --- a/src/Fl_PS_Printer.cxx +++ b/src/Fl_PS_Printer.cxx @@ -1255,8 +1255,6 @@ int Fl_Printer::start_job(int pages, int *firstpage, int *lastpage) { enum Page_Layout layout; // first test version for print dialog - - print_prefs = new Fl_Preferences(Fl_Preferences::USER, "fltk.org", "print_support"); if (!print_panel) make_print_panel(); print_load(); print_selection->deactivate(); @@ -1266,7 +1264,6 @@ int Fl_Printer::start_job(int pages, int *firstpage, int *lastpage) { { char tmp[10]; snprintf(tmp, sizeof(tmp), "%d", pages); print_to->value(tmp); } print_panel->show(); // this is modal while (print_panel->shown()) Fl::wait(); - delete print_prefs; if (!print_start) // user clicked cancel return 1; |
