summaryrefslogtreecommitdiffstats
path: root/ue2/imgsynth2/cscriptparser.cpp
diff options
context:
space:
mode:
authormanuel <manuel@clan-server.at>2009-04-29 16:15:00 +0200
committermanuel <manuel@clan-server.at>2009-04-29 16:15:00 +0200
commitcfd4f77988cf12106e22e52fba6c1b5672a06162 (patch)
treeadeca546331f12c9237b6e9fa3a4f659106dc5c6 /ue2/imgsynth2/cscriptparser.cpp
parente1ad46101085cc7f8fd766936552b31d67188a15 (diff)
downloadooprog-cfd4f77988cf12106e22e52fba6c1b5672a06162.tar.gz
ooprog-cfd4f77988cf12106e22e52fba6c1b5672a06162.tar.bz2
ooprog-cfd4f77988cf12106e22e52fba6c1b5672a06162.zip
adding filename param to write(...)
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();