diff options
| author | Manolo Gouy <Manolo> | 2011-02-24 18:02:11 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2011-02-24 18:02:11 +0000 |
| commit | 27987c6ee00273948920015c1da851f150279154 (patch) | |
| tree | 44322dc981ccd297b4d52e53f46d91e27468fccf /src/fl_rect.cxx | |
| parent | 278c821ff46f9232b0ab9f0e08077b5c8c773178 (diff) | |
Made struct matrix a subclass of Fl_Graphics_Device class to avoid collision
with application-defined names.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8471 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_rect.cxx')
| -rw-r--r-- | src/fl_rect.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fl_rect.cxx b/src/fl_rect.cxx index 703dd82bd..adba7a909 100644 --- a/src/fl_rect.cxx +++ b/src/fl_rect.cxx @@ -590,14 +590,14 @@ void Fl_Graphics_Driver::push_clip(int x, int y, int w, int h) { # error unsupported platform #endif } - if (rstackptr < REGION_STACK_MAX) rstack[++rstackptr] = r; + if (rstackptr < region_stack_max) rstack[++rstackptr] = r; else Fl::warning("fl_push_clip: clip stack overflow!\n"); fl_restore_clip(); } // make there be no clip (used by fl_begin_offscreen() only!) void Fl_Graphics_Driver::push_no_clip() { - if (rstackptr < REGION_STACK_MAX) rstack[++rstackptr] = 0; + if (rstackptr < region_stack_max) rstack[++rstackptr] = 0; else Fl::warning("fl_push_no_clip: clip stack overflow!\n"); fl_restore_clip(); } |
