summaryrefslogtreecommitdiffstats
path: root/src/outputgen.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2011-06-29 20:14:58 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2011-06-29 20:14:58 (GMT)
commitb655037884e82e257794004d4e88d3a9ed29d5c3 (patch)
treee669e210441ef87fa9a366b99d90a0c8d8ae944b /src/outputgen.cpp
parentde297f6d77f3861b649f3fcba443483d6be6afe9 (diff)
downloadDoxygen-b655037884e82e257794004d4e88d3a9ed29d5c3.zip
Doxygen-b655037884e82e257794004d4e88d3a9ed29d5c3.tar.gz
Doxygen-b655037884e82e257794004d4e88d3a9ed29d5c3.tar.bz2
Release-1.7.4-20110629
Diffstat (limited to 'src/outputgen.cpp')
-rw-r--r--src/outputgen.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/outputgen.cpp b/src/outputgen.cpp
index 71b10ed..fbe6b3e 100644
--- a/src/outputgen.cpp
+++ b/src/outputgen.cpp
@@ -58,6 +58,7 @@ void OutputGenerator::startPlainFile(const char *name)
void OutputGenerator::endPlainFile()
{
+ t.unsetDevice();
delete file;
file=0;
fileName.resize(0);
@@ -66,12 +67,12 @@ void OutputGenerator::endPlainFile()
void OutputGenerator::pushGeneratorState()
{
genStack->push(new bool(isEnabled()));
- //printf("%p:pushGeneratorState(%d)\n",this,genStack->count());
+ //printf("%p:pushGeneratorState(%d) enabled=%d\n",this,genStack->count(),isEnabled());
}
void OutputGenerator::popGeneratorState()
{
- //printf("%p:popGeneratorState(%d)\n",this,genStack->count());
+ //printf("%p:popGeneratorState(%d) enabled=%d\n",this,genStack->count(),isEnabled());
bool *lb = genStack->pop();
ASSERT(lb!=0);
if (lb==0) return; // for some robustness against superfluous \endhtmlonly commands.