From c920fe38a19013b99f3f74e48da9724fb053c212 Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Sun, 9 Jul 2023 20:59:16 +0100 Subject: support building from VC++ IDE, add resources --- src/T2DLL/T2BitImage.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/T2DLL/T2BitImage.cpp') diff --git a/src/T2DLL/T2BitImage.cpp b/src/T2DLL/T2BitImage.cpp index 93bd6f8..f9d897a 100644 --- a/src/T2DLL/T2BitImage.cpp +++ b/src/T2DLL/T2BitImage.cpp @@ -1,3 +1,4 @@ +#include "StdAfx.h" #include "GlobalFunc.h" #include "T2BitImage.h" @@ -921,7 +922,7 @@ void T2BitImage::CopyImage(CDC* dc, const RECT& inSrc, const RECT& inDest, int, return; OffsetRect(&dest, -diffX, -diffY); - Bitmap bmp = mBitmap; + Bitmap256 bmp = mBitmap; bmp.header.biHeight = -bmp.header.biHeight; SetDIBitsToDevice( -- cgit v1.2.3