diff options
| author | manuel <manuel@nc8430.lan> | 2009-05-01 20:18:51 +0200 |
|---|---|---|
| committer | manuel <manuel@nc8430.lan> | 2009-05-01 20:18:51 +0200 |
| commit | b9ce1555b2baf9be209775dbd4c8b217db5cd735 (patch) | |
| tree | 9c4b74f4a3f9e323e6d799313f9f59dd7b940fb4 /ue2/imgsynth2/cwindowsbitmap.cpp | |
| parent | 6431d84ffec82db10030d918cfed8e791e62f42c (diff) | |
| download | ooprog-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.cpp | 2 |
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 | ||
| 81 | void CWindowsBitmap::write(std::ofstream& out, std::string& filename) | 81 | void 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); |
