diff options
| author | Manolo Gouy <Manolo> | 2011-06-10 13:37:07 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2011-06-10 13:37:07 +0000 |
| commit | 0aafa5870150d73633d88dd87bc41720630343d5 (patch) | |
| tree | 32fdd6c440cabb9f61d0e550dfc020540cf97c52 /fluid | |
| parent | d2e2ed7e2b9928b68cf95e21b9c3f247765d7aef (diff) | |
Fix STR #2661: fluid may crash when printing.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8801 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid')
| -rw-r--r-- | fluid/fluid.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fluid/fluid.cxx b/fluid/fluid.cxx index 32faa0736..4ad1cb7eb 100644 --- a/fluid/fluid.cxx +++ b/fluid/fluid.cxx @@ -1260,7 +1260,7 @@ void print_cb(Fl_Return_Button *, void *) { if (t->is_window()) { winpage ++; windows[num_windows] = (Fl_Window_Type *)t; - + if (!((Fl_Window*)(windows[num_windows]->o))->shown()) continue; if (print_all->value()) num_windows ++; else if (print_pages->value() && winpage >= first && winpage <= last) num_windows ++; |
