comparison src/glyphs-msw.c @ 308:33bdb3d4b97f r21-0b52

Import from CVS: tag r21-0b52
author cvs
date Mon, 13 Aug 2007 10:42:44 +0200
parents c6de09ad3017
children 19dcec799385
comparison
equal deleted inserted replaced
307:42d630fd9bd8 308:33bdb3d4b97f
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);