fixed title

This commit is contained in:
Ryan Connelly 2012-11-04 12:17:40 +11:00
parent 3fe10c2091
commit 0adbb6acb6

2
main.c
View File

@ -172,7 +172,7 @@ void run_game(void)
if(frame_now - frame_prev > 1000) if(frame_now - frame_prev > 1000)
{ {
char buf[16]; char buf[16];
sprintf(buf, "buldthensnip | FPS: %d", fps); sprintf(buf, "buld then snip | FPS: %d", fps);
SDL_WM_SetCaption(buf, 0); SDL_WM_SetCaption(buf, 0);
fps = 0; fps = 0;
frame_prev = SDL_GetTicks(); frame_prev = SDL_GetTicks();