fine tuning
This commit is contained in:
@@ -58,7 +58,7 @@ if ( NULL == (fp=Image_must_fopen(fontname, "r", 0)) ) {
|
||||
/* 16 juin 2015 : now we can erase the whole font by
|
||||
setting bit 0 of flags to one */
|
||||
if (flags & 1) {
|
||||
fprintf(stderr, "erasing 16x24 font at %p\n", chars_16x24);
|
||||
fprintf(stderr, "%s: erasing 16x24 font for %s\n", __func__, fontname);
|
||||
memset(chars_16x24, 0, sizeof(chars_16x24));
|
||||
}
|
||||
|
||||
@@ -282,7 +282,7 @@ int px, py;
|
||||
char chaine[42];
|
||||
RGBA paper, ink;
|
||||
|
||||
foo = Image_t16x24_txtload(fontname, NULL, 1);
|
||||
foo = Image_t16x24_txtload(fontname, NULL, flag & 2);
|
||||
if (foo) {
|
||||
fprintf(stderr, "%s: file %s not found\n", __func__, fontname);
|
||||
Image_print_error("fonte 16x24, txtload", foo);
|
||||
|
||||
Reference in New Issue
Block a user