diff options
| -rw-r--r-- | src/Fl_x.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx index e6fb77bc4..6b5ddf45f 100644 --- a/src/Fl_x.cxx +++ b/src/Fl_x.cxx @@ -1946,7 +1946,7 @@ void Fl_Paged_Device::print_window(Fl_Window *win, int x_offset, int y_offset) XQueryTree(fl_display, fl_window, &root, &parent, &children, &n); if (n) XFree(children); XTranslateCoordinates(fl_display, fl_window, parent, 0, 0, &bx, &bt, &child_win); fl_window = parent; - uchar *top_image, *left_image, *right_image, *bottom_image; + uchar *top_image = 0, *left_image = 0, *right_image = 0, *bottom_image = 0; top_image = fl_read_image(NULL, 0, 0, - (win->w() + 2 * bx), bt); if (bx) { left_image = fl_read_image(NULL, 0, bt, -bx, win->h() + bx); |
