From 0d4ce96799da99a3f0c7c25ef14aac8951b93239 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sat, 20 Sep 2008 13:04:50 +0000 Subject: Fixed warnings. svn-id: r34609 --- graphics/VectorRendererSpec.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/graphics/VectorRendererSpec.cpp b/graphics/VectorRendererSpec.cpp index 375dfca20a..f8c2d14521 100644 --- a/graphics/VectorRendererSpec.cpp +++ b/graphics/VectorRendererSpec.cpp @@ -382,14 +382,14 @@ applyScreenShading(GUI::Theme::ShadingStyle shadingStyle) { int n = (pixels + 7) >> 3; switch (pixels % 8) { case 0: do { - *ptr++ = (*ptr >> 1) & shiftMask; - case 7: *ptr++ = (*ptr >> 1) & shiftMask; - case 6: *ptr++ = (*ptr >> 1) & shiftMask; - case 5: *ptr++ = (*ptr >> 1) & shiftMask; - case 4: *ptr++ = (*ptr >> 1) & shiftMask; - case 3: *ptr++ = (*ptr >> 1) & shiftMask; - case 2: *ptr++ = (*ptr >> 1) & shiftMask; - case 1: *ptr++ = (*ptr >> 1) & shiftMask; + *ptr = (*ptr >> 1) & shiftMask; ++ptr; + case 7: *ptr = (*ptr >> 1) & shiftMask; ++ptr; + case 6: *ptr = (*ptr >> 1) & shiftMask; ++ptr; + case 5: *ptr = (*ptr >> 1) & shiftMask; ++ptr; + case 4: *ptr = (*ptr >> 1) & shiftMask; ++ptr; + case 3: *ptr = (*ptr >> 1) & shiftMask; ++ptr; + case 2: *ptr = (*ptr >> 1) & shiftMask; ++ptr; + case 1: *ptr = (*ptr >> 1) & shiftMask; ++ptr; } while (--n > 0); } -- cgit v1.2.3