From 024368d7226e403d535184faa9f6e9b66f8d56e4 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Mon, 29 Mar 2010 14:10:54 +0000 Subject: Removed more Cocoa/Quartz references. Finally moved OS X font down a pixel. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7357 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/fl_draw.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/fl_draw.cxx') diff --git a/src/fl_draw.cxx b/src/fl_draw.cxx index 630c7cec2..d435bf82b 100644 --- a/src/fl_draw.cxx +++ b/src/fl_draw.cxx @@ -350,9 +350,11 @@ void fl_draw( { if ((!str || !*str) && !img) return; if (w && h && !fl_not_clipped(x, y, w, h) && (align & FL_ALIGN_INSIDE)) return; - if (align & FL_ALIGN_CLIP) fl_push_clip(x, y, w, h); + if (align & FL_ALIGN_CLIP) + fl_push_clip(x, y, w, h); fl_draw(str, x, y, w, h, align, fl_draw, img, draw_symbols); - if (align & FL_ALIGN_CLIP) fl_pop_clip(); + if (align & FL_ALIGN_CLIP) + fl_pop_clip(); } /** -- cgit v1.2.3