changeset 24:348a4a4beb17

Backport from master
author Paper <37962225+mrpapersonic@users.noreply.github.com>
date Thu, 07 Apr 2022 19:32:19 -0400
parents ee96b991e033
children eb15d8595e8c
files src/gui.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/gui.c	Thu Apr 07 19:27:22 2022 -0400
+++ b/src/gui.c	Thu Apr 07 19:32:19 2022 -0400
@@ -37,7 +37,7 @@
 enum type {
 	vf,
 	veg
-}
+};
 char* file_name = " ";
 
 void set_data(unsigned char magic[], uint16_t version, FILE* target) {
@@ -145,7 +145,7 @@
 									 0x87, 0x22, 0x00, 0xC0, 0x4F, 0x8E, 0xDB, 0x8A};
 			set_data(magic, version, output);
 			break;
-		case veg:
+		default:
 			unsigned char magic[] = {0xF6, 0x1B, 0x3C, 0x53, 0x35, 0xD6, 0xF3, 0x43, 
 									 0x8A, 0x90, 0x64, 0xB8, 0x87, 0x23, 0x1F, 0x7F};
 			set_data(magic, version, output);