Corrected incorrect fprintf formatting

This commit is contained in:
Francois-Olivier Devaux 2006-12-04 14:52:34 +00:00
parent b420c330b2
commit 0ace960ea5
1 changed files with 2 additions and 2 deletions

View File

@ -122,7 +122,7 @@ opj_image_t* bmptoimage(const char *filename, opj_cparameters_t *parameters) {
IN = fopen(filename, "rb");
if (!IN) {
fprintf(stderr, "\033[0;33mFailed to open %s for reading !!\033[0;39m\n", filename);
fprintf(stderr, "Failed to open %s for reading !!\n", filename);
return 0;
}
@ -859,7 +859,7 @@ opj_image_t* pnmtoimage(const char *filename, opj_cparameters_t *parameters) {
f = fopen(filename, "rb");
if (!f) {
fprintf(stderr, "\033[0;33mFailed to open %s for reading !!\033[0;39m\n", filename);
fprintf(stderr, "Failed to open %s for reading !!\n", filename);
return 0;
}