comparison src/glyphs-msw.c @ 373:6240c7796c7a r21-2b2

Import from CVS: tag r21-2b2
author cvs
date Mon, 13 Aug 2007 11:04:06 +0200
parents cc15677e0335
children d883f39b8495
comparison
equal deleted inserted replaced
372:49e1ed2d7ed8 373:6240c7796c7a
519 hcdc, 0, 0, 519 hcdc, 0, 0,
520 IMAGE_INSTANCE_PIXMAP_WIDTH (ii), 520 IMAGE_INSTANCE_PIXMAP_WIDTH (ii),
521 IMAGE_INSTANCE_PIXMAP_HEIGHT (ii), 521 IMAGE_INSTANCE_PIXMAP_HEIGHT (ii),
522 SRCCOPY)) 522 SRCCOPY))
523 { 523 {
524 DeleteObject (newbmp);
525 DeleteDC (hdcDst);
524 return 0; 526 return 0;
525 } 527 }
526 528
527 SelectObject (hdcDst, old2); 529 SelectObject (hdcDst, old2);
528 SelectObject (hcdc, old1); 530 SelectObject (hcdc, old1);
551 hcdc, 0, 0, 553 hcdc, 0, 0,
552 IMAGE_INSTANCE_PIXMAP_WIDTH (ii), 554 IMAGE_INSTANCE_PIXMAP_WIDTH (ii),
553 IMAGE_INSTANCE_PIXMAP_HEIGHT (ii), 555 IMAGE_INSTANCE_PIXMAP_HEIGHT (ii),
554 SRCCOPY)) 556 SRCCOPY))
555 { 557 {
558 DeleteObject (newmask);
559 DeleteDC (hdcDst);
556 return NULL; 560 return NULL;
557 } 561 }
558 562
559 SelectObject (hdcDst, old2); 563 SelectObject (hdcDst, old2);
560 SelectObject (hcdc, old1); 564 SelectObject (hcdc, old1);