Merge pull request #46 from atlaua/master

Urgent bugfix, confirm_ui() should not free msg.
This commit is contained in:
Simon Robertshaw 2011-09-29 10:03:17 -07:00
commit f369d41591

View File

@ -1104,8 +1104,6 @@ int confirm_ui(pixel *vid_buf, char *top, char *msg, char *btn)
break;
}
free(msg);
while (!sdl_poll())
{
b = SDL_GetMouseState(&mx, &my);
@ -5569,6 +5567,8 @@ int save_filename_ui(pixel *vid_buf)
}
fclose(f);
free(filename);
}
}