[GX] Minor

This commit is contained in:
Behdad Esfahbod committed 2016-12-16 19:06:26 -06:00
1 parent ed8a9067ca
commit 976eeb8e02
1 file changed
+1 -2
+1 -2
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;