The output windows crashed when an empty syntax window is executed. The
rerender function got called without a valid view->xr (=NULL). I added a
check for this condition and create a new view->xr as it is done in the
psppire_output_view_put function.
This fixes bug #45421: Crash when trying to run empty syntax
return;
cr = gdk_cairo_create (gtk_widget_get_window (GTK_WIDGET (view->output)));
-
+ if (view->xr == NULL)
+ create_xr (view);
view->y = 0;
view->max_width = 0;
for (item = view->items; item < &view->items[view->n_items]; item++)