diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-07-09 20:59:16 +0100 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-07-09 20:59:16 +0100 |
commit | c920fe38a19013b99f3f74e48da9724fb053c212 (patch) | |
tree | 6bb036fd3f61b85daceb26f74378eadcdd977db1 /src/T2DLL/T2BitImage.cpp | |
parent | 96a63139221587c6be9659c1e07eacd3a8e7f048 (diff) | |
download | t2win-c920fe38a19013b99f3f74e48da9724fb053c212.tar.gz t2win-c920fe38a19013b99f3f74e48da9724fb053c212.zip |
support building from VC++ IDE, add resources
Diffstat (limited to 'src/T2DLL/T2BitImage.cpp')
-rw-r--r-- | src/T2DLL/T2BitImage.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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( |