= {{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 f87ccc3ea5
commit 01972a2e9d

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);