Bugfixes from John.

This commit is contained in:
William Kendrick 2003-12-24 01:28:16 +00:00
parent e4e80c8e83
commit 983d836520
2 changed files with 14 additions and 12 deletions

View file

@ -7484,9 +7484,10 @@ void wordwrap_text(TTF_Font * font, char * str, SDL_Color color,
SDL_BlitSurface(text, NULL, screen, &dest);
last_text_height = text->h;
SDL_FreeSurface(text);
x = x + text->w;
SDL_FreeSurface(text);
}
}
}
@ -7517,8 +7518,9 @@ void wordwrap_text(TTF_Font * font, char * str, SDL_Color color,
SDL_BlitSurface(text, NULL, screen, &dest);
last_text_height = text->h;
SDL_FreeSurface(text);
x = x + text->w;
SDL_FreeSurface(text);
}