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;

View File

@@ -350,7 +350,7 @@ ps_init(void *lpt)
}
}
/* Cache print folder path. */
/* Cache print folder path. */
memset(dev->printer_path, 0x00, sizeof(dev->printer_path));
path_append_filename(dev->printer_path, usr_path, "printer");
if (!plat_dir_check(dev->printer_path))