summaryrefslogtreecommitdiffstats
path: root/src/mangen.h
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2005-02-27 20:01:29 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2005-02-27 20:01:29 (GMT)
commit47b04448404f708d25de41246b04fb2219cc81df (patch)
tree2d189d04d6f9413eb324fae5f56f273f3855ff8b /src/mangen.h
parent2ed43d4c3890c98475d4deb87d4a14ab949f90c4 (diff)
downloadDoxygen-47b04448404f708d25de41246b04fb2219cc81df.zip
Doxygen-47b04448404f708d25de41246b04fb2219cc81df.tar.gz
Doxygen-47b04448404f708d25de41246b04fb2219cc81df.tar.bz2
Release-1.4.1-20050227
Diffstat (limited to 'src/mangen.h')
-rw-r--r--src/mangen.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mangen.h b/src/mangen.h
index 66aa69c..085b7ad 100644
--- a/src/mangen.h
+++ b/src/mangen.h
@@ -31,7 +31,8 @@ class ManGenerator : public OutputGenerator
//OutputGenerator *copy() { return new ManGenerator; }
//OutputGenerator *clone() { return new ManGenerator(*this); }
//void append(const OutputGenerator *o);
- void enable() { active=TRUE; }
+ void enable()
+ { if (genStack->top()) active=*genStack->top(); else active=TRUE; }
void disable() { active=FALSE; }
void enableIf(OutputType o) { if (o==Man) active=TRUE; }
void disableIf(OutputType o) { if (o==Man) active=FALSE; }