From cfd4f77988cf12106e22e52fba6c1b5672a06162 Mon Sep 17 00:00:00 2001 From: manuel Date: Wed, 29 Apr 2009 16:15:00 +0200 Subject: adding filename param to write(...) --- 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 ea9b242..46a7c42 100644 --- a/ue2/imgsynth2/cscriptparser.cpp +++ b/ue2/imgsynth2/cscriptparser.cpp @@ -192,7 +192,7 @@ void CScriptparser::write(std::list funcparams) /* let handlers write() parse the file */ try { - m_handler->write(file); + m_handler->write(file, filename); if (!file.good()) throw ParserError("Error while writing image file.", m_curline); file.close(); -- cgit v1.2.3