Follow-up Comment #9, bug #27630 (project xboard):
Another problem in convert appears on systems (like mine) where "char"
defaults to "signed char".
Pieces of size 129 aren't handled by Load() because "char h,w;"
are negative in that case and the for loops are skipped.
"unsigned char h,w;" should work on all systems.
A similar bug seems to be responsible for the contents of e.g.
bitmaps/q129s.bm:
#define q129s_width -127
#define q129s_height -127
static unsigned char q129s_bits[] = {
};
Apart from some leakages and stray pixels (e.g. cvld54.xpm) the bitmap
"m33s.bm" and the original (before running convert) pixmaps "md?33.xpm" show
just a single line. w??54.xpm also is defect.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?27630>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
Bug-XBoard mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-xboard