hackathon-dev #1

Merged
amy merged 101 commits from hackathon-dev into develop 2019-12-12 13:56:11 -07:00
Showing only changes of commit a8a5206b89 - Show all commits

View File

@ -158,8 +158,10 @@ static PyObject *devctxt_select_bitmap(DevCtxtObject *self, BitmapObject *newbmp
{ {
Log(LDEBUG, "need to wrap old bitmap"); Log(LDEBUG, "need to wrap old bitmap");
old_bitmap = (BitmapObject *)Epython_wrap_bitmap(old_pbmp); old_bitmap = (BitmapObject *)Epython_wrap_bitmap(old_pbmp);
Log(LDEBUG, "wrapper finished");
if (!old_bitmap) if (!old_bitmap)
{ {
Log(LDEBUG, "wrapper failed");
DC_SelectObject(self->pdctxt, (PGFXOBJECT)old_pbmp); DC_SelectObject(self->pdctxt, (PGFXOBJECT)old_pbmp);
return NULL; return NULL;
} }