浏览代码

* 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 年前
父节点
当前提交
9fd8d1f373
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      extras/makefont.c

+ 1
- 1
extras/makefont.c 查看文件

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


/* Render text to surface */ /* Render text to surface */
TTF_SetFontStyle(font, TTF_STYLE_NORMAL); 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) if(!surface)
{ {
fprintf(stderr, "surface rendering failed: %s\n", SDL_GetError()); fprintf(stderr, "surface rendering failed: %s\n", SDL_GetError());


||||||
x
 
000:0
正在加载...
取消
保存