
1.40 RC#2 Display Centered Text bug
A small bug with some of the display functions
If you have the following (pointless) code
This won't compile and you get an error on the nxtDisplayCenteredTextLine line
The reason is that parameter nLineNumber is defined as a 'compileconst' in nxtDisplayCenteredTextLine whereas it is a 'const' in nxtDisplayTextLine.
I could not think of any reason for the use of compileconst so I changed it in the RobotCIntrinsics.c file and the sky didn't fall.
I notice that this occurs in several other functions as well.