diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2008-12-06 14:59:52 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2008-12-06 14:59:52 +0000 |
| commit | fbea5019fb1a778c89ab60ae98272fcdca528f50 (patch) | |
| tree | 17668fa0f0fafad59c3f9ea79cdb27fcec86d268 /src/fl_draw.cxx | |
| parent | e907ce4a11e1258760eea39f4c81cce1d197d9fc (diff) | |
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
Diffstat (limited to 'src/fl_draw.cxx')
| -rw-r--r-- | src/fl_draw.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } |
