diff options
author | Sebastian Rasmussen <sebras@hotmail.com> | 2010-12-30 15:32:07 +0000 |
---|---|---|
committer | Sebastian Rasmussen <sebras@hotmail.com> | 2010-12-30 15:32:07 +0000 |
commit | 6e2a8f21f83b87bbf0530d92f809a3aea6aba724 (patch) | |
tree | 7c729d3b1c1c6ab45b4c0e7c2962d203744a8828 /draw/imagesmooth.c | |
parent | 396ae32a583aeae56f5b0e34948c6e1709724c1f (diff) | |
download | mupdf-6e2a8f21f83b87bbf0530d92f809a3aea6aba724.tar.xz |
Adhere to indentation idiom for switch everywhere.
Diffstat (limited to 'draw/imagesmooth.c')
-rw-r--r-- | draw/imagesmooth.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/draw/imagesmooth.c b/draw/imagesmooth.c index 3807de9b..72345ed6 100644 --- a/draw/imagesmooth.c +++ b/draw/imagesmooth.c @@ -1113,18 +1113,18 @@ fz_smoothscalepixmap(fz_pixmap *src, float x, float y, float w, float h) goto cleanup; switch (src->n) { - default: - row_scale = scale_row_to_temp; - break; - case 1: /* Image mask case */ - row_scale = scale_row_to_temp1; - break; - case 2: /* Greyscale with alpha case */ - row_scale = scale_row_to_temp2; - break; - case 4: /* RGBA */ - row_scale = scale_row_to_temp4; - break; + default: + row_scale = scale_row_to_temp; + break; + case 1: /* Image mask case */ + row_scale = scale_row_to_temp1; + break; + case 2: /* Greyscale with alpha case */ + row_scale = scale_row_to_temp2; + break; + case 4: /* RGBA */ + row_scale = scale_row_to_temp4; + break; } max_row = 0; for (row = 0; row < contrib_rows->count; row++) |