[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] typo in keyboard.c
On 05/23/2010 09:22 AM, Helmut Karlowski wrote:
> There's a typo in line 160 in keyboard.c:
>
> static char makes[MAKES_BLEN + 1 * 2];
>
> should be:
>
> static char makes[MAKES_BLEN * 2 + 1];
>
> or even:
>
> static char makes[MAKES_BLEN * 2 - 1];
I just had a look myself to see if this affects the Milan, which it
doesn't as it's not used on a Milan. However, I see that it's
initialized in init_keybd (also on the Milan), and only the first
MAKES_BLEND bytes are initialized. So on the Milan, no damage is done.
Jo Even