is the problem in Epython_wrap_bitmap?
This commit is contained in:
parent
0dd8d45898
commit
a8a5206b89
|
@ -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