diff src/main.c @ 58:fcd4b9fe957b

[gui.c]: show version and type in a box
author Paper <37962225+mrpapersonic@users.noreply.github.com>
date Thu, 21 Jul 2022 00:46:18 -0400
parents 652343b56a60
children 8f90d5addda9
line wrap: on
line diff
--- a/src/main.c	Wed Jul 20 21:31:26 2022 -0400
+++ b/src/main.c	Thu Jul 21 00:46:18 2022 -0400
@@ -154,7 +154,7 @@
 		fprintf(stderr, "Failed to open file %s! Do you have write permissions?", args.output);
 		return 1;
 	}
-	set_data(magic, args.version, outfile);
+	set_data(&magic, args.version, outfile);
 	fclose(outfile);
 	return 0;
 }