Skip to content

Commit 3519878

Browse files
committed
Port fix for libgd 584
Cf. <libgd/libgd@6d21d30>.
1 parent 88ab1a8 commit 3519878

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/gd/libgd/gd_interpolation.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2160,10 +2160,10 @@ int gdImageSetInterpolationMethod(gdImagePtr im, gdInterpolationMethod id)
21602160
case GD_DEFAULT:
21612161
id = GD_LINEAR;
21622162
im->interpolation = filter_linear;
2163+
break;
21632164

21642165
default:
21652166
return 0;
2166-
break;
21672167
}
21682168
im->interpolation_id = id;
21692169
return 1;

0 commit comments

Comments
 (0)