From e1601bb23693ed4f72f791ae535dd1a05e8b1fba Mon Sep 17 00:00:00 2001 From: Alex Myczko Date: Wed, 5 Sep 2018 11:43:36 +0200 Subject: [PATCH] Update fontdump.c exit if no file given to inspect --- fontdump.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fontdump.c b/fontdump.c index 5bdfed7..76baf4e 100644 --- a/fontdump.c +++ b/fontdump.c @@ -81,6 +81,7 @@ int main(int argc, char* argv[]) if (argc<2) { printf("Syntax: fontdump video.rom\n"); + exit(1); } f=fopen(argv[1],"r");