hackathon-dev #1
|
@ -158,8 +158,10 @@ static PyObject *devctxt_select_bitmap(DevCtxtObject *self, BitmapObject *newbmp
|
|||
{
|
||||
Log(LDEBUG, "need to wrap old bitmap");
|
||||
old_bitmap = (BitmapObject *)Epython_wrap_bitmap(old_pbmp);
|
||||
Log(LDEBUG, "wrapper finished");
|
||||
if (!old_bitmap)
|
||||
{
|
||||
Log(LDEBUG, "wrapper failed");
|
||||
DC_SelectObject(self->pdctxt, (PGFXOBJECT)old_pbmp);
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user