mirror of https://mirror.trustie.net/root/bimg.git
refactor: indent style
This commit is contained in:
parent
61997bc68b
commit
5e47888d78
12
vips.h
12
vips.h
|
@ -69,12 +69,12 @@ vips_rotate(VipsImage *in, VipsImage **buf, int angle)
|
||||||
int rotate = VIPS_ANGLE_D0;
|
int rotate = VIPS_ANGLE_D0;
|
||||||
|
|
||||||
if (angle == 90) {
|
if (angle == 90) {
|
||||||
rotate = VIPS_ANGLE_D90;
|
rotate = VIPS_ANGLE_D90;
|
||||||
} else if (angle == 180) {
|
} else if (angle == 180) {
|
||||||
rotate = VIPS_ANGLE_D180;
|
rotate = VIPS_ANGLE_D180;
|
||||||
} else if (angle == 270) {
|
} else if (angle == 270) {
|
||||||
rotate = VIPS_ANGLE_D270;
|
rotate = VIPS_ANGLE_D270;
|
||||||
}
|
}
|
||||||
|
|
||||||
return vips_rot(in, buf, rotate, NULL);
|
return vips_rot(in, buf, rotate, NULL);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue