aboutsummaryrefslogtreecommitdiff
path: root/dep/g3dlite/source/format.cpp
diff options
context:
space:
mode:
authorVincent-Michael <Vincent_Michael@gmx.de>2014-08-23 16:41:54 +0200
committerVincent-Michael <Vincent_Michael@gmx.de>2014-08-23 16:41:54 +0200
commit4a29c73403c4dc713a8a31cb96289adff2b910c1 (patch)
treede0c6b191031bac7fb2764edb2a81382a331f81c /dep/g3dlite/source/format.cpp
parentb90329d63acaecb1f074dd2b303561baa9f639a2 (diff)
parent1255434882777053bca06656786abc1a598deda9 (diff)
Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4
Diffstat (limited to 'dep/g3dlite/source/format.cpp')
-rw-r--r--dep/g3dlite/source/format.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/dep/g3dlite/source/format.cpp b/dep/g3dlite/source/format.cpp
index d9d1b516393..b77b30c73bd 100644
--- a/dep/g3dlite/source/format.cpp
+++ b/dep/g3dlite/source/format.cpp
@@ -43,7 +43,7 @@ std::string vformat(const char *fmt, va_list argPtr) {
// allocate it on the stack because this saves
// the malloc/free time.
const int bufSize = 161;
- char stackBuffer[bufSize];
+ char stackBuffer[bufSize];
// MSVC does not support va_copy
int actualSize = _vscprintf(fmt, argPtr) + 1;
@@ -83,12 +83,12 @@ std::string vformat(const char *fmt, va_list argPtr) {
// allocate it on the stack because this saves
// the malloc/free time.
const int bufSize = 161;
- char stackBuffer[bufSize];
+ char stackBuffer[bufSize];
- // MSVC6 doesn't support va_copy, however it also seems to compile
- // correctly if we just pass our argument list along. Note that
- // this whole code block is only compiled if we're on MSVC6 anyway
- int actualWritten = _vsnprintf(stackBuffer, bufSize, fmt, argPtr);
+ // MSVC6 doesn't support va_copy, however it also seems to compile
+ // correctly if we just pass our argument list along. Note that
+ // this whole code block is only compiled if we're on MSVC6 anyway
+ int actualWritten = _vsnprintf(stackBuffer, bufSize, fmt, argPtr);
// Not a big enough buffer, bufSize characters written
if (actualWritten == -1) {