Segfaults(correction)

if (SDL_MapSurface(*text, screen->format) != 0) {
this line should be this
if (SDL_MapSurface(text, screen->format) != 0) {

sorry.

if (SDL_MapSurface(*text, screen->format) != 0) {
this line should be this
if (SDL_MapSurface(text, screen->format) != 0) {

In SDL 0.9.x SDL_MapSurface() is no longer necessary.
(Finally! :slight_smile:

See ya!
-Sam Lantinga (slouken at devolution.com)–
Author of Simple DirectMedia Layer -
http://www.devolution.com/~slouken/SDL/