Skip to content

Commit

Permalink
Update fontdump.c
Browse files Browse the repository at this point in the history
exit if no file given to inspect
  • Loading branch information
alexmyczko authored Sep 5, 2018
1 parent b6f59ed commit e1601bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fontdump.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit e1601bb

Please sign in to comment.