ree (1.3-2) fontdump.c

Summary

 fontdump.c |    4 ++++
 1 file changed, 4 insertions(+)

    
download this patch

Patch contents

--- ree-1.3.orig/fontdump.c
+++ ree-1.3/fontdump.c
@@ -78,6 +78,10 @@
     long start,last,location,count;
     int a,b,s,size;
 
+    if (argc<2) {
+	printf("Syntax: fontdump video.rom\n");
+    }
+
     f=fopen(argv[1],"r");
     if (f==NULL) {
 	printf("could not open %s\n",argv[1]);