diff options
Diffstat (limited to 'src/fl_draw_pixmap.cxx')
-rw-r--r-- | src/fl_draw_pixmap.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fl_draw_pixmap.cxx b/src/fl_draw_pixmap.cxx index deeb11e..a1238ce 100644 --- a/src/fl_draw_pixmap.cxx +++ b/src/fl_draw_pixmap.cxx @@ -1,5 +1,5 @@ // -// "$Id: fl_draw_pixmap.cxx 4723 2005-12-30 10:13:17Z matt $" +// "$Id: fl_draw_pixmap.cxx 5190 2006-06-09 16:16:34Z mike $" // // Pixmap drawing code for the Fast Light Tool Kit (FLTK). // @@ -322,7 +322,7 @@ int fl_draw_pixmap(const char*const* di, int x, int y, Fl_Color bg) { src, 0L, false, kCGRenderingIntentDefault); CGColorSpaceRelease(lut); CGDataProviderRelease(src); - CGRect rect = { x, y, d.w, d.h }; + CGRect rect = { { x, y} , { d.w, d.h } }; Fl_X::q_begin_image(rect, x, y, d.w, d.h); CGContextDrawImage(fl_gc, rect, img); Fl_X::q_end_image(); @@ -337,5 +337,5 @@ int fl_draw_pixmap(const char*const* di, int x, int y, Fl_Color bg) { } // -// End of "$Id: fl_draw_pixmap.cxx 4723 2005-12-30 10:13:17Z matt $". +// End of "$Id: fl_draw_pixmap.cxx 5190 2006-06-09 16:16:34Z mike $". // |