From b9ce1555b2baf9be209775dbd4c8b217db5cd735 Mon Sep 17 00:00:00 2001 From: manuel Date: Fri, 1 May 2009 20:18:51 +0200 Subject: rewrote pixmap::read to do more sanity checks --- ue2/imgsynth2/cscriptparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ue2/imgsynth2/cscriptparser.cpp') 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 funcparams) /* let handlers write() parse the file */ try { - m_handler->write(file, filename); + m_handler->write(file); if (!file.good()) throw ParserError("Error while writing image file.", m_curline); file.close(); -- cgit v1.2.3