painter.blit(local_style->m_background, offset, eRect(), 0);
return;
}
- else if (local_style->m_transparent_background)
- return;
}
painter.clear();
}
if ((filled < 0) && data) /* if the string is in a negative number, it refers to the 'data' list. */
filled = PyInt_AsLong(PyTuple_GetItem(data, -filled));
+
+ /* don't do anything if percent out of range */
+ if ((filled < 0) || (filled > 100))
+ continue;
int bwidth = pborderWidth ? PyInt_AsLong(pborderWidth) : 2;