Added braces

This commit is contained in:
Andrew Murray 2021-02-13 11:32:52 +11:00
parent c2203a13a8
commit c8ca4b909a

View File

@ -169,7 +169,8 @@ ImagingGifEncode(Imaging im, ImagingCodecState state, UINT8 *buf, int bytes) {
ptr = buf;
for (;;) switch (state->state) {
for (;;) {
switch (state->state) {
case INIT:
case ENCODE:
@ -319,4 +320,5 @@ ImagingGifEncode(Imaging im, ImagingCodecState state, UINT8 *buf, int bytes) {
state->state = ENCODE;
break;
}
}
}