Fix for the SliderWidget glitch when showing very small values (and potentially for other small widgets)

svn-id: r35557
This commit is contained in:
Jordi Vilalta Prat 2008-12-26 12:15:51 +00:00
parent 1e60714ff7
commit d18d2d72a8
2 changed files with 3 additions and 8 deletions

View file

@ -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 {