diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/cairo_test.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cairo_test.cxx b/test/cairo_test.cxx index 86ca7299b..f6326f5cb 100644 --- a/test/cairo_test.cxx +++ b/test/cairo_test.cxx @@ -176,7 +176,7 @@ public: // FIXME: this should be simplified with an FLTK API, for instance: // Fl::cairo_flush(cc); - cairo_surface_t *s = cairo_get_target(Fl::cairo_cc()); + cairo_surface_t *s = cairo_get_target(cc); cairo_surface_flush(s); } void set_draw_cb( void (*cb)(cairo_using_window*, cairo_t*)) { |
