summaryrefslogtreecommitdiffstats
path: root/ue2/imgsynth2/cscriptparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ue2/imgsynth2/cscriptparser.cpp')
-rw-r--r--ue2/imgsynth2/cscriptparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ue2/imgsynth2/cscriptparser.cpp b/ue2/imgsynth2/cscriptparser.cpp
index ea9b242..46a7c42 100644
--- a/ue2/imgsynth2/cscriptparser.cpp
+++ b/ue2/imgsynth2/cscriptparser.cpp
@@ -192,7 +192,7 @@ void CScriptparser::write(std::list<std::string> funcparams)
192 /* let handlers write() parse the file */ 192 /* let handlers write() parse the file */
193 try 193 try
194 { 194 {
195 m_handler->write(file); 195 m_handler->write(file, filename);
196 if (!file.good()) 196 if (!file.good())
197 throw ParserError("Error while writing image file.", m_curline); 197 throw ParserError("Error while writing image file.", m_curline);
198 file.close(); 198 file.close();