forked from mia/Aegisub
Increase the size of the buffer used for formatting messages from libass as they can occasionally be longer than 256 characters
Originally committed to SVN as r4796.
This commit is contained in:
parent
82ca2a4b70
commit
1fbe7b4f1e
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@
|
||||||
/// @brief Handle libass messages
|
/// @brief Handle libass messages
|
||||||
///
|
///
|
||||||
static void msg_callback(int level, const char *fmt, va_list args, void *data) {
|
static void msg_callback(int level, const char *fmt, va_list args, void *data) {
|
||||||
char buf[256];
|
char buf[1024];
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
vsprintf_s(buf, sizeof(buf), fmt, args);
|
vsprintf_s(buf, sizeof(buf), fmt, args);
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in a new issue