Cleanup: less curly braces in destructor
This commit is contained in:
parent
884a49a63a
commit
795701c986
|
@ -27,10 +27,10 @@ x(_x), y(_y), w(_w), h(_h), outline(0)
|
||||||
|
|
||||||
UIFrame::~UIFrame()
|
UIFrame::~UIFrame()
|
||||||
{
|
{
|
||||||
if (pyOutlineColor) { Py_DECREF(pyOutlineColor); }
|
if (pyOutlineColor) Py_DECREF(pyOutlineColor);
|
||||||
else { if (_outlineColor) { delete _outlineColor; } }
|
else if (_outlineColor) delete _outlineColor;
|
||||||
if (pyFillColor) { Py_DECREF(pyFillColor); }
|
if (pyFillColor) Py_DECREF(pyFillColor);
|
||||||
else { if (_fillColor) { delete _fillColor; } }
|
else if (_fillColor) delete _fillColor;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue