hackathon-dev #1
|
@ -172,6 +172,9 @@ static PyObject *devctxt_select_bitmap(DevCtxtObject *self, BitmapObject *newbmp
|
|||
}
|
||||
}
|
||||
Log(LDEBUG, "replacement sequence");
|
||||
ASSERT(old_bitmap);
|
||||
ASSERT(self->selected_bitmap);
|
||||
ASSERT(newbmp);
|
||||
Py_DECREF(self->selected_bitmap);
|
||||
self->selected_bitmap = newbmp;
|
||||
Py_INCREF(self->selected_bitmap);
|
||||
|
|
Loading…
Reference in New Issue
Block a user