diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2005-07-20 13:20:14 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2005-07-20 13:20:14 +0000 |
| commit | 394ab6af409e790054503f0adcac54dfef37e81f (patch) | |
| tree | 4d75f07329a3990c97dd3ba0c56e0b124aaf1cbb /fluid | |
| parent | bb2394055d9085df72e885e14c659c686bf7fae2 (diff) | |
Declaration in Fluid now uses its own public/private setting unless the parent is a private declaration block, which sets contained declarations to private as well.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4439 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid')
| -rw-r--r-- | fluid/Fl_Function_Type.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fluid/Fl_Function_Type.cxx b/fluid/Fl_Function_Type.cxx index 303ff728e..3f4ea2e11 100644 --- a/fluid/Fl_Function_Type.cxx +++ b/fluid/Fl_Function_Type.cxx @@ -467,7 +467,7 @@ void Fl_CodeBlock_Type::write_code2() { int Fl_Decl_Type::is_public() const { - Fl_Type *p = Fl_Type::current; + Fl_Type *p = parent; while (p && !p->is_decl_block()) p = p->parent; if(p && p->is_public() && public_) return public_; |
