cosmetic
This commit is contained in:
parent
1d1336fd96
commit
5510569f8b
@ -175,6 +175,11 @@ fprintf(stderr, "%s: ltr %3d '%c' %4d %4d\n", __func__, lettre,
|
|||||||
isprint(lettre) ? lettre : ' ', xpos, ypos);
|
isprint(lettre) ? lettre : ' ', xpos, ypos);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* +-------------------------------+
|
||||||
|
| WTF ? no boundary check ? |
|
||||||
|
+-------------------------------+ */
|
||||||
|
|
||||||
|
|
||||||
for (y=0; y<24; y++) {
|
for (y=0; y<24; y++) {
|
||||||
mask = 0x8000;
|
mask = 0x8000;
|
||||||
y2 = y + ypos;
|
y2 = y + ypos;
|
||||||
@ -205,7 +210,7 @@ for (y=0; y<24; y++) {
|
|||||||
#endif
|
#endif
|
||||||
} /* finbo y */
|
} /* finbo y */
|
||||||
|
|
||||||
return FUNC_IS_ALPHA;/* BETIC ? */
|
return FUNC_IS_BETA;
|
||||||
}
|
}
|
||||||
/*::------------------------------------------------------------------::*/
|
/*::------------------------------------------------------------------::*/
|
||||||
int Image_t16x24_pltstr_1(Image_Desc *img, char *str, int x, int y,
|
int Image_t16x24_pltstr_1(Image_Desc *img, char *str, int x, int y,
|
||||||
@ -278,7 +283,11 @@ char chaine[42];
|
|||||||
RGBA paper, ink;
|
RGBA paper, ink;
|
||||||
|
|
||||||
foo = Image_t16x24_txtload(fontname, NULL, 1);
|
foo = Image_t16x24_txtload(fontname, NULL, 1);
|
||||||
Image_print_error("fonte 16x24, txtload", foo);
|
if (foo) {
|
||||||
|
fprintf(stderr, "%s: file %s not found\n", __func__, fontname);
|
||||||
|
Image_print_error("fonte 16x24, txtload", foo);
|
||||||
|
return foo;
|
||||||
|
}
|
||||||
|
|
||||||
img = Image_alloc(W_IMG, H_IMG, 3);
|
img = Image_alloc(W_IMG, H_IMG, 3);
|
||||||
if (NULL == img) {
|
if (NULL == img) {
|
||||||
@ -313,6 +322,6 @@ for (ix=0; ix<16; ix++) {
|
|||||||
foo = Image_TGA_save(tganame, img, 0);
|
foo = Image_TGA_save(tganame, img, 0);
|
||||||
Image_DeAllocate(img); free(img);
|
Image_DeAllocate(img); free(img);
|
||||||
|
|
||||||
return 42;
|
return OLL_KORRECT;
|
||||||
}
|
}
|
||||||
/*::------------------------------------------------------------------::*/
|
/*::------------------------------------------------------------------::*/
|
||||||
|
Loading…
Reference in New Issue
Block a user