diff --git a/extras/makefont.c b/extras/makefont.c index 7cfbba8..815b606 100644 --- a/extras/makefont.c +++ b/extras/makefont.c @@ -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());