summaryrefslogtreecommitdiffstats
path: root/src/htmlgen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/htmlgen.cpp')
-rw-r--r--src/htmlgen.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/htmlgen.cpp b/src/htmlgen.cpp
index 7962c0b..eba8971 100644
--- a/src/htmlgen.cpp
+++ b/src/htmlgen.cpp
@@ -336,8 +336,11 @@ void HtmlGenerator::writeStyleInfo(int part)
}
else
{
+ // convert style sheet to string
+ QCString fileStr = fileToString(cssname);
+ // write the string into the output dir
startPlainFile(cssfi.fileName());
- t << fileToString(cssname);
+ t << fileStr;
endPlainFile();
}
}