From 9fd8d1f37300b39ef80c252e23ef98e1515220ba Mon Sep 17 00:00:00 2001 From: sam Date: Mon, 10 Jan 2005 13:23:45 +0000 Subject: [PATCH] * 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 --- extras/makefont.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());