From b9ce1555b2baf9be209775dbd4c8b217db5cd735 Mon Sep 17 00:00:00 2001 From: manuel Date: Fri, 1 May 2009 20:18:51 +0200 Subject: rewrote pixmap::read to do more sanity checks --- ue2/imgsynth2/cwindowsbitmap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ue2/imgsynth2/cwindowsbitmap.cpp') 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) /*----------------------------------------------------------------------------*/ -void CWindowsBitmap::write(std::ofstream& out, std::string& filename) +void CWindowsBitmap::write(std::ofstream& out) { /* set header values */ m_fileheader.bfSize = m_infoheader.biSizeImage + sizeof(m_infoheader) + sizeof(m_fileheader); -- cgit v1.2.3