Skip to content

Commit

Permalink
c99 is awesome.
Browse files Browse the repository at this point in the history
  • Loading branch information
novas0x2a committed Apr 21, 2007
1 parent 5cedc21 commit 85a1262
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ void init_cursors()
void update_cursor(SDL_Surface *s, Slide *current)
{
SDL_Surface *image;
SDL_Rect rcDest;
Region next;
int x,y;

Expand Down Expand Up @@ -321,8 +322,8 @@ void update_cursor(SDL_Surface *s, Slide *current)
default:
break;
}
rcDest = (struct SDL_Rect) {x, y, 0, 0};

SDL_Rect rcDest = {x, y, 0, 0};
SDL_BlitSurface(image, NULL, s, &rcDest);
}

Expand Down

0 comments on commit 85a1262

Please sign in to comment.