[GX] Minor

This commit is contained in:
Behdad Esfahbod 2016-03-12 23:28:12 -08:00
parent ed8a9067ca
commit 976eeb8e02
1 changed files with 1 additions and 2 deletions

View File

@ -1243,8 +1243,7 @@ struct VariationAxis
{
inline float evaluate (int *coords, unsigned int coord_len) const
{
unsigned int i = axisIndex;
int coord = i < coord_len ? coords[i] : 0;
int coord = axisIndex < coord_len ? coords[axisIndex] : 0;
int start = startCoord, peak = peakCoord, end = endCoord;
//if (coord == 0) return 0;