Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fix build errors from last change.
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgenpt committed Jul 24, 2013
1 parent 8a0ae24 commit 6124081
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/events/SDL_gesture.c
Expand Up @@ -392,7 +392,7 @@ 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] = {};
SDL_FloatPoint points[DOLLARNPOINTS] = {{0}};
int i;
float bestDiff = 10000;

Expand Down
2 changes: 1 addition & 1 deletion src/render/SDL_render.c
Expand Up @@ -1467,7 +1467,7 @@ SDL_RenderDrawRects(SDL_Renderer * renderer,
int
SDL_RenderFillRect(SDL_Renderer * renderer, const SDL_Rect * rect)
{
SDL_Rect full_rect = {};
SDL_Rect full_rect = {0};

CHECK_RENDERER_MAGIC(renderer, -1);

Expand Down

0 comments on commit 6124081

Please sign in to comment.