A bit more clang-format

This commit is contained in:
Jasmine Iwanek
2022-11-19 08:49:04 -05:00
parent b04dd8cc8b
commit 3fe4f75108
223 changed files with 8047 additions and 7456 deletions

View File

@@ -124,7 +124,7 @@ error:
png_log("PNG: fatal error, bailing out, error = %i\n", errno);
if (png != NULL)
PNGFUNC(destroy_write_struct)
(&png, &info);
(&png, &info);
if (fp != NULL)
(void) fclose(fp);
return (0);
@@ -206,7 +206,7 @@ png_write_rgb(char *fn, uint8_t *pix, int16_t w, int16_t h, uint16_t pitch, PALE
error:
if (png != NULL)
PNGFUNC(destroy_write_struct)
(&png, &info);
(&png, &info);
if (fp != NULL)
(void) fclose(fp);
return;