diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2011-06-29 20:14:58 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2011-06-29 20:14:58 (GMT) |
commit | 9f83539241a64ce7f74d80c118e555e1fc8f8077 (patch) | |
tree | e669e210441ef87fa9a366b99d90a0c8d8ae944b /src/mangen.h | |
parent | 0bb78ec1f61b95b550b65361081c01a104728341 (diff) | |
download | Doxygen-9f83539241a64ce7f74d80c118e555e1fc8f8077.zip Doxygen-9f83539241a64ce7f74d80c118e555e1fc8f8077.tar.gz Doxygen-9f83539241a64ce7f74d80c118e555e1fc8f8077.tar.bz2 |
Release-1.7.4-20110629
Diffstat (limited to 'src/mangen.h')
-rw-r--r-- | src/mangen.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mangen.h b/src/mangen.h index c635fc5..c80d849 100644 --- a/src/mangen.h +++ b/src/mangen.h @@ -34,9 +34,9 @@ class ManGenerator : public OutputGenerator 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; } - void disableIfNot(OutputType o) { if (o!=Man) active=FALSE; } + void enableIf(OutputType o) { if (o==Man) enable(); } + void disableIf(OutputType o) { if (o==Man) disable(); } + void disableIfNot(OutputType o) { if (o!=Man) disable(); } bool isEnabled(OutputType o) { return (o==Man && active); } OutputGenerator *get(OutputType o) { return (o==Man) ? this : 0; } |