diff options
Diffstat (limited to 'win/tkWinDraw.c')
-rw-r--r-- | win/tkWinDraw.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/win/tkWinDraw.c b/win/tkWinDraw.c index d2faa90..97f7b33 100644 --- a/win/tkWinDraw.c +++ b/win/tkWinDraw.c @@ -587,9 +587,6 @@ TkPutImage( } if (!bitmap) { Tcl_Panic("Fail to allocate bitmap"); - DeleteDC(dcMem); - TkWinReleaseDrawableDC(d, dc, &state); - return BadValue; } bitmap = (HBITMAP)SelectObject(dcMem, bitmap); BitBlt(dc, dest_x, dest_y, (int) width, (int) height, dcMem, src_x, src_y, |