X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=xoptions.c;h=2446fb05250ea71135317ccc0e29fa700c67c05f;hb=15eab3074ed1dc476c19b48da66e82dea27399b5;hp=6993ab26ada7878a743db9bfcd76c63d68b2bab8;hpb=67b3a0d7c465522feb67841c7374bf863df19357;p=xboard.git diff --git a/xoptions.c b/xoptions.c index 6993ab2..2446fb0 100644 --- a/xoptions.c +++ b/xoptions.c @@ -565,6 +565,7 @@ GraphEventProc(Widget widget, caddr_t client_data, XEvent *event) // so only change when size is no longer good if(graph->choice) cairo_surface_destroy((cairo_surface_t *) graph->choice); graph->choice = (char**) cairo_image_surface_create (CAIRO_FORMAT_ARGB32, w, h); + break; } cr = cairo_create((cairo_surface_t *) graph->textValue); cairo_set_source_surface(cr, (cairo_surface_t *) graph->choice, 0, 0);