+ molly-guard

This commit is contained in:
tTh 2022-09-20 13:47:11 +02:00
parent bd1b329029
commit 8e9f083aa9
1 changed files with 7 additions and 1 deletions

View File

@ -15,7 +15,13 @@ Image_Desc *img;
int foo;
RGBA encre, papier;
fprintf(stderr, ">>> %s ( %p %p '%s' )\n", __func__, tgasrc, tgadst, texte);
img = Image_TGA_alloc_load(tgasrc);
if (NULL==img) {
fprintf(stderr, "%s: can't read '%s'\n", __func__, tgasrc);
return FILE_NOT_FOUND;
}
foo = Image_t16x24_txtload("16x24thin", NULL, 0);
if (foo) {
@ -45,7 +51,7 @@ Image_print_error("Essai fonte 16x24", foo);
foo = essai_f1("pov.tga", "/tmp/aaaa_plop.tga", "0123456789");
if (foo) {
fprintf(stderr, " ---> %d\n", foo);
fprintf(stderr, "essai f1 ---> %d\n", foo);
}
return 0;
}