mirror of https://github.com/odrling/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
|
@ -64,7 +64,7 @@
|
|||
/// @brief Handle libass messages
|
||||
///
|
||||
static void msg_callback(int level, const char *fmt, va_list args, void *data) {
|
||||
char buf[256];
|
||||
char buf[1024];
|
||||
#ifdef _WIN32
|
||||
vsprintf_s(buf, sizeof(buf), fmt, args);
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue