mirror of
https://github.com/spiffcode/hostile-takeover.git
synced 2026-04-15 00:41:26 -06:00
Declare rect in RawBitmap outside of conditional scope
This commit is contained in:
parent
c9372c661c
commit
eb1085142d
@ -142,8 +142,8 @@ void RawBitmap::BltTo(DibBitmap *pbmDst, int xDst, int yDst, Rect *prcSrc)
|
||||
{
|
||||
// Src rect to blt from
|
||||
|
||||
Rect rcSrcT;
|
||||
if (prcSrc == NULL) {
|
||||
Rect rcSrcT;
|
||||
rcSrcT.Set(0, 0, m_cx, m_cy);
|
||||
prcSrc = &rcSrcT;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user