--- trunk/generate-resources.c 2007/08/01 13:51:53 2 +++ trunk/generate-resources.c 2008/10/03 02:29:03 227 @@ -1,6 +1,6 @@ /* generate-resources.c - code generator for embedded resources - Copyright (C) 2007 siliconforks.com + Copyright (C) 2007, 2008 siliconforks.com This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -29,6 +29,7 @@ printf("const unsigned char RESOURCE%d_[] = {\n", i); FILE * f = fopen(argv[i], "rb"); if (f == NULL) { + fprintf(stderr, "cannot open file %s\n", argv[i]); exit(EXIT_FAILURE); } int c;