aboutsummaryrefslogtreecommitdiffstats
path: root/com32/lib/sys/vesa/background.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/lib/sys/vesa/background.c')
-rw-r--r--com32/lib/sys/vesa/background.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/com32/lib/sys/vesa/background.c b/com32/lib/sys/vesa/background.c
index 0c5a0571..cc515fb0 100644
--- a/com32/lib/sys/vesa/background.c
+++ b/com32/lib/sys/vesa/background.c
@@ -283,10 +283,10 @@ int vesacon_load_background(const char *filename)
if (!fp)
goto err;
-
+
if (fread(header, 1, 8, fp) != 8)
goto err;
-
+
if (!png_sig_cmp(header, 0, 8)) {
rv = read_png_file(fp);
} else if (!jpeg_sig_cmp(header, 8)) {
@@ -295,11 +295,11 @@ int vesacon_load_background(const char *filename)
/* This actually displays the stuff */
draw_background();
-
+
err:
if (fp)
fclose(fp);
-
+
return rv;
}