diff options
| author | manuel <manuel@clan-server.at> | 2009-04-29 16:15:00 +0200 |
|---|---|---|
| committer | manuel <manuel@clan-server.at> | 2009-04-29 16:15:00 +0200 |
| commit | cfd4f77988cf12106e22e52fba6c1b5672a06162 (patch) | |
| tree | adeca546331f12c9237b6e9fa3a4f659106dc5c6 /ue2/imgsynth2/cscriptparser.cpp | |
| parent | e1ad46101085cc7f8fd766936552b31d67188a15 (diff) | |
| download | ooprog-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.cpp | 2 |
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(); |
