From fbea5019fb1a778c89ab60ae98272fcdca528f50 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Sat, 6 Dec 2008 14:59:52 +0000 Subject: Replaced all occurrences of the deprecated fl_clip() function by fl_push_clip(). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6551 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/fl_draw.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fl_draw.cxx') diff --git a/src/fl_draw.cxx b/src/fl_draw.cxx index 142d72d5e..cbdc2cc7d 100644 --- a/src/fl_draw.cxx +++ b/src/fl_draw.cxx @@ -347,7 +347,7 @@ void fl_draw( int draw_symbols) { 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_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(); } -- cgit v1.2.3