Browse Source

* oops, missed a thing in makefont.

git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/pwntcha/trunk@447 92316355-f0b4-4df1-b90c-862c8a59935f
master
sam 20 years ago
parent
commit
9fd8d1f373
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      extras/makefont.c

+ 1
- 1
extras/makefont.c View File

@@ -60,7 +60,7 @@ int main(int argc, char *argv[])

/* Render text to surface */
TTF_SetFontStyle(font, TTF_STYLE_NORMAL);
surface = TTF_RenderUTF8_Shaded(font, argv[3], fg, bg);
surface = TTF_RenderUTF8_Shaded(font, text, fg, bg);
if(!surface)
{
fprintf(stderr, "surface rendering failed: %s\n", SDL_GetError());


Loading…
Cancel
Save