summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Src/MsgHandler.cpp
diff options
context:
space:
mode:
authorRyan Houdek <Sonicadvance1@Gmail.com>2012-10-27 17:22:48 -0500
committerRyan Houdek <Sonicadvance1@Gmail.com>2012-10-27 17:22:48 -0500
commitc1fd640964272e68301b4f2c39e36b4f550785b6 (patch)
tree321788bd412bd805ad1432925e6457b07b10927a /Source/Core/Common/Src/MsgHandler.cpp
parent5a6a2b2bec29e71efd8dda61bf6fb5aad4a45020 (diff)
parent7006cd12170c3b3dc3c6179a66945b5183995156 (diff)
Rebase immediate-removal on master
Diffstat (limited to 'Source/Core/Common/Src/MsgHandler.cpp')
-rw-r--r--Source/Core/Common/Src/MsgHandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/Src/MsgHandler.cpp b/Source/Core/Common/Src/MsgHandler.cpp
index 3f68e1d29a..7c666227aa 100644
--- a/Source/Core/Common/Src/MsgHandler.cpp
+++ b/Source/Core/Common/Src/MsgHandler.cpp
@@ -86,7 +86,7 @@ bool MsgAlert(bool yes_no, int Style, const char* format, ...)
va_list args;
va_start(args, format);
- CharArrayFromFormatV(buffer, 2047, str_translator(format).c_str(), args);
+ CharArrayFromFormatV(buffer, sizeof(buffer)-1, str_translator(format).c_str(), args);
va_end(args);
ERROR_LOG(MASTER_LOG, "%s: %s", caption.c_str(), buffer);