From 32d4bc4099ac62a32166c9d39ddd47d6a193be2a Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Sun, 18 Mar 2012 18:48:29 +0000 Subject: Fix STR#2810: removed all uses of function Fl_Device::class_name(). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9293 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Image.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Fl_Image.cxx') diff --git a/src/Fl_Image.cxx b/src/Fl_Image.cxx index 267ee4167..4bf41f888 100644 --- a/src/Fl_Image.cxx +++ b/src/Fl_Image.cxx @@ -532,7 +532,7 @@ void Fl_GDI_Graphics_Driver::draw(Fl_RGB_Image *img, int XP, int YP, int WP, int } else if (img->d()==2 || img->d()==4) { copy_offscreen_with_alpha(X, Y, W, H, (Fl_Offscreen)img->id_, cx, cy); } else { - fl_copy_offscreen(X, Y, W, H, (Fl_Offscreen)img->id_, cx, cy); + copy_offscreen(X, Y, W, H, (Fl_Offscreen)img->id_, cx, cy); } } @@ -569,7 +569,7 @@ void Fl_Xlib_Graphics_Driver::draw(Fl_RGB_Image *img, int XP, int YP, int WP, in XSetClipOrigin(fl_display, fl_gc, X-cx, Y-cy); } - fl_copy_offscreen(X, Y, W, H, img->id_, cx, cy); + copy_offscreen(X, Y, W, H, img->id_, cx, cy); if (img->mask_) { // put the old clip region back -- cgit v1.2.3