From 63537971abe8704a1cbd62b264e54a889b53664f Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Thu, 2 Jun 2005 07:01:25 +0000 Subject: [PATCH] Added missing SetPort to restore the current port fin Mac OSX fl_read_image. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4393 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/fl_read_image_mac.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/fl_read_image_mac.cxx b/src/fl_read_image_mac.cxx index 06de2b018..e5e75ee4a 100644 --- a/src/fl_read_image_mac.cxx +++ b/src/fl_read_image_mac.cxx @@ -118,6 +118,7 @@ fl_read_image(uchar *p, // I - Pixel buffer or NULL to allocate UnlockPixels(pm); fl_delete_offscreen(osbuffer); + SetPort(srcPort); return p; }