提交 0fca88dd 编写于 作者: J jp9000

Do not draw text from file if file not found

上级 97543def
......@@ -372,9 +372,11 @@ skip_font_load:;
bfree(srcdata->text_file);
srcdata->text_file = NULL;
}
else
else {
blog(LOG_WARNING,
"FT2-text: Failed to open %s for reading", tmp);
goto error;
}
srcdata->text_file = bstrdup(tmp);
if (chat_log_mode)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册