= {{0}} generates a memset() in MSVC, which isn't linked. Whoops!

This commit is contained in:
Jørgen P. Tjernø 2013-07-23 17:40:18 -07:00
parent 8c0d5be080
commit aa5f318964

View file

@ -391,11 +391,12 @@ static int dollarNormalize(const SDL_DollarPath *path,SDL_FloatPoint *points)
static float dollarRecognize(const SDL_DollarPath *path,int *bestTempl,SDL_GestureTouch* touch)
{
SDL_FloatPoint points[DOLLARNPOINTS] = {{0}};
SDL_FloatPoint points[DOLLARNPOINTS];
int i;
float bestDiff = 10000;
SDL_memset(points, 0, sizeof(points));
dollarNormalize(path,points);
//PrintPath(points);