summaryrefslogtreecommitdiff
path: root/src/fl_draw.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/fl_draw.cxx')
-rw-r--r--src/fl_draw.cxx2
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();
}