aboutsummaryrefslogtreecommitdiff
path: root/scale.c
diff options
context:
space:
mode:
Diffstat (limited to 'scale.c')
-rw-r--r--scale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scale.c b/scale.c
index 61f44d4..583ca5d 100644
--- a/scale.c
+++ b/scale.c
@@ -442,7 +442,7 @@ static void scale_select_scaler(unsigned w, unsigned h, size_t pitch) {
if (scale_size == SCALE_SIZE_CROP) {
scaler = scale_crop;
return;
- } if (scale_size == SCALE_SIZE_FULL) {
+ } else if (scale_size == SCALE_SIZE_FULL) {
dst_w = SCREEN_WIDTH;
dst_h = SCREEN_HEIGHT;
dst_offs = 0;