summaryrefslogtreecommitdiffstats
path: root/ue2/imgsynth2/cwindowsbitmap.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/cwindowsbitmap.cpp
parente1ad46101085cc7f8fd766936552b31d67188a15 (diff)
downloadooprog-cfd4f77988cf12106e22e52fba6c1b5672a06162.tar.gz
ooprog-cfd4f77988cf12106e22e52fba6c1b5672a06162.tar.bz2
ooprog-cfd4f77988cf12106e22e52fba6c1b5672a06162.zip
adding filename param to write(...)
Diffstat (limited to 'ue2/imgsynth2/cwindowsbitmap.cpp')
-rw-r--r--ue2/imgsynth2/cwindowsbitmap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ue2/imgsynth2/cwindowsbitmap.cpp b/ue2/imgsynth2/cwindowsbitmap.cpp
index ebbdd4c..ca927dd 100644
--- a/ue2/imgsynth2/cwindowsbitmap.cpp
+++ b/ue2/imgsynth2/cwindowsbitmap.cpp
@@ -78,7 +78,7 @@ void CWindowsBitmap::read(std::ifstream& in)
78 78
79/*----------------------------------------------------------------------------*/ 79/*----------------------------------------------------------------------------*/
80 80
81void CWindowsBitmap::write(std::ofstream& out) 81void CWindowsBitmap::write(std::ofstream& out, std::string& filename)
82{ 82{
83 /* set header values */ 83 /* set header values */
84 m_fileheader.bfSize = m_infoheader.biSizeImage + sizeof(m_infoheader) + sizeof(m_fileheader); 84 m_fileheader.bfSize = m_infoheader.biSizeImage + sizeof(m_infoheader) + sizeof(m_fileheader);