summaryrefslogtreecommitdiffstats
path: root/ue2/imgsynth2/cwindowsbitmap.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/cwindowsbitmap.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/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 ca927dd..ebbdd4c 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, std::string& filename) 81void CWindowsBitmap::write(std::ofstream& out)
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);