bug-gnubg
[Top][All Lists]
Advanced

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

[Bug-gnubg] Computer graphics help needed


From: Philippe Michel
Subject: [Bug-gnubg] Computer graphics help needed
Date: Sun, 10 Nov 2013 18:10:25 +0100 (CET)
User-agent: Alpine 2.00 (BSF 1167 2008-08-23)

In gtkprefs.c, at line 1726, the compiler detects that ar[3] is left uninitialized in the following piece of code :

            for (j = 0; j < 3; j++)
                ar[j] = newPrefs.aanBoardColour[i][j] / 255.0;

But should it be "for (j = 0; j < 4; j++)" like in similar code at line 862, or should ar[3] be set to 0 like at line 944 ?



reply via email to

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