Hello, On Sun, Jul 29, 2007 at 07:52:12PM +0200, voroshil wrote: > +#define PRINT_HEX(dp,i,h) dp[i].unicode=((h)&0xf)>9?'A'+((h)&0xf):'0'+((h)&0xf) This is wrong, it you forgot the - 10 in the h > 9 case. Greetings, Reimar Döffinger