summaryrefslogtreecommitdiffstats
path: root/ue2/imgsynth2/cscriptparser.cpp
diff options
context:
space:
mode:
authorGünther Neuwirth <e0626638@student.tuwien.ac.at>2009-04-29 23:03:22 +0200
committerGünther Neuwirth <e0626638@student.tuwien.ac.at>2009-04-29 23:03:22 +0200
commit6b89034cd15a2ca270591aec89b8b13c868b86fc (patch)
treea455239cecd65a97bd5f5b11ea66819ac4d4ab3a /ue2/imgsynth2/cscriptparser.cpp
parentb03b7611a300d3004b445be45e07c40ae0d13032 (diff)
parentcfd4f77988cf12106e22e52fba6c1b5672a06162 (diff)
downloadooprog-6b89034cd15a2ca270591aec89b8b13c868b86fc.tar.gz
ooprog-6b89034cd15a2ca270591aec89b8b13c868b86fc.tar.bz2
ooprog-6b89034cd15a2ca270591aec89b8b13c868b86fc.zip
update
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 033661f..e6bc9ae 100644
--- a/ue2/imgsynth2/cscriptparser.cpp
+++ b/ue2/imgsynth2/cscriptparser.cpp
@@ -194,7 +194,7 @@ void CScriptparser::write(std::list<std::string> funcparams)
194 /* let handlers write() parse the file */ 194 /* let handlers write() parse the file */
195 try 195 try
196 { 196 {
197 m_handler->write(file); 197 m_handler->write(file, filename);
198 if (!file.good()) 198 if (!file.good())
199 throw ParserError("Error while writing image file.", m_curline); 199 throw ParserError("Error while writing image file.", m_curline);
200 file.close(); 200 file.close();