From 615cea792f6ef91ac4cf7605b091b6928a9e9dee Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Sat, 23 Sep 2017 07:33:40 +0000 Subject: Remove obsolete include directive. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12465 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- cairo/Fl_Cairo.cxx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cairo/Fl_Cairo.cxx b/cairo/Fl_Cairo.cxx index a762c67d9..6bf509b86 100644 --- a/cairo/Fl_Cairo.cxx +++ b/cairo/Fl_Cairo.cxx @@ -22,9 +22,6 @@ #include #include #include -#ifdef __APPLE__ -#include -#endif // Cairo is currently supported for the following platforms: // Win32, Apple Quartz, X11 @@ -131,7 +128,7 @@ cairo_t * Fl::cairo_make_current(void *gc) { H = Fl_Window::current()->h(); } else { - W = CGBitmapContextGetHeight(fl_gc); + W = CGBitmapContextGetWidth(fl_gc); H = CGBitmapContextGetHeight(fl_gc); } #elif defined(WIN32) -- cgit v1.2.3