bug-xboard
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-XBoard] [bug #27630] Black fairy pieces partly transparent


From: anonymous
Subject: [Bug-XBoard] [bug #27630] Black fairy pieces partly transparent
Date: Sat, 17 Oct 2009 11:05:15 +0000
User-agent: Opera/9.10 (X11; Linux i686; U; en)

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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]