aboutsummaryrefslogtreecommitdiff
path: root/graphics/VectorRendererSpec.cpp
diff options
context:
space:
mode:
authorAdrian Frühwirth2018-03-23 20:40:30 +0100
committerAdrian Frühwirth2018-03-23 20:40:30 +0100
commitd36a9ce672bcad31b93ee5753a8fb0d3a3def9c3 (patch)
treed36110deb282c025979e0e3b07a82e51014be8f2 /graphics/VectorRendererSpec.cpp
parent313eeca36a5846711df14617b4137b7ca9303db8 (diff)
downloadscummvm-rg350-d36a9ce672bcad31b93ee5753a8fb0d3a3def9c3.tar.gz
scummvm-rg350-d36a9ce672bcad31b93ee5753a8fb0d3a3def9c3.tar.bz2
scummvm-rg350-d36a9ce672bcad31b93ee5753a8fb0d3a3def9c3.zip
JANITORIAL: Fix formatting
Diffstat (limited to 'graphics/VectorRendererSpec.cpp')
-rw-r--r--graphics/VectorRendererSpec.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/graphics/VectorRendererSpec.cpp b/graphics/VectorRendererSpec.cpp
index 3f4c314656..c66bb2e9af 100644
--- a/graphics/VectorRendererSpec.cpp
+++ b/graphics/VectorRendererSpec.cpp
@@ -448,16 +448,16 @@ void colorFill(PixelType *first, PixelType *last, PixelType color) {
return;
int n = (count + 7) >> 3;
switch (count % 8) {
- case 0: do {
- *first++ = color; // fall through
- case 7: *first++ = color; // fall through
- case 6: *first++ = color; // fall through
- case 5: *first++ = color; // fall through
- case 4: *first++ = color; // fall through
- case 3: *first++ = color; // fall through
- case 2: *first++ = color; // fall through
+ case 0: do {
+ *first++ = color; // fall through
+ case 7: *first++ = color; // fall through
+ case 6: *first++ = color; // fall through
+ case 5: *first++ = color; // fall through
+ case 4: *first++ = color; // fall through
+ case 3: *first++ = color; // fall through
+ case 2: *first++ = color; // fall through
case 1: *first++ = color;
- } while (--n > 0);
+ } while (--n > 0);
}
}
@@ -487,16 +487,16 @@ void colorFillClip(PixelType *first, PixelType *last, PixelType color, int realX
int n = (count + 7) >> 3;
switch (count % 8) {
- case 0: do {
- *first++ = color; // fall through
- case 7: *first++ = color; // fall through
- case 6: *first++ = color; // fall through
- case 5: *first++ = color; // fall through
- case 4: *first++ = color; // fall through
- case 3: *first++ = color; // fall through
- case 2: *first++ = color; // fall through
+ case 0: do {
+ *first++ = color; // fall through
+ case 7: *first++ = color; // fall through
+ case 6: *first++ = color; // fall through
+ case 5: *first++ = color; // fall through
+ case 4: *first++ = color; // fall through
+ case 3: *first++ = color; // fall through
+ case 2: *first++ = color; // fall through
case 1: *first++ = color;
- } while (--n > 0);
+ } while (--n > 0);
}
}