summaryrefslogtreecommitdiffstats
path: root/ue2/imgsynth2/cscriptparser.cpp
diff options
context:
space:
mode:
authormanuel <manuel@nc8430.lan>2009-05-01 20:18:51 +0200
committermanuel <manuel@nc8430.lan>2009-05-01 20:18:51 +0200
commitb9ce1555b2baf9be209775dbd4c8b217db5cd735 (patch)
tree9c4b74f4a3f9e323e6d799313f9f59dd7b940fb4 /ue2/imgsynth2/cscriptparser.cpp
parent6431d84ffec82db10030d918cfed8e791e62f42c (diff)
downloadooprog-b9ce1555b2baf9be209775dbd4c8b217db5cd735.tar.gz
ooprog-b9ce1555b2baf9be209775dbd4c8b217db5cd735.tar.bz2
ooprog-b9ce1555b2baf9be209775dbd4c8b217db5cd735.zip
rewrote pixmap::read to do more sanity checks
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 17ff5a4..58ce3a8 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, filename); 197 m_handler->write(file);
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();