Fix for the SliderWidget glitch when showing very small values (and potentially for other small widgets)
svn-id: r35557
This commit is contained in:
parent
1e60714ff7
commit
d18d2d72a8
2 changed files with 3 additions and 8 deletions
|
@ -426,6 +426,8 @@ template <typename PixelType, typename PixelFormat>
|
|||
void VectorRendererSpec<PixelType, PixelFormat>::
|
||||
colorFill(PixelType *first, PixelType *last, PixelType color) {
|
||||
register int count = (last - first);
|
||||
if (!count)
|
||||
return;
|
||||
register int n = (count + 7) >> 3;
|
||||
switch (count % 8) {
|
||||
case 0: do {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue