Skip to content

Commit

Permalink
Added missing SetPort to restore the current port fin Mac OSX fl_read…
Browse files Browse the repository at this point in the history
…_image.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4393 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
Matthias Melcher committed Jun 2, 2005
1 parent d523a9c commit 6353797
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/fl_read_image_mac.cxx
Expand Up @@ -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;
}

Expand Down

0 comments on commit 6353797

Please sign in to comment.