diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-12-01 10:29:04 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-12-01 10:29:04 +0400 |
commit | 2f97f929a5dcb8b13aec528103ebe0db088aa696 (patch) | |
tree | 07d8c37306b788fba6b10fdefd6e391c2a4ad95a /source/gameengine | |
parent | eb490f3aaebb92f3eae232cec3bbc5776d52104b (diff) |
fix for bug in console indent, was not copying the null terminator.
also add assert to catch this case more quickly.
Diffstat (limited to 'source/gameengine')
-rw-r--r-- | source/gameengine/GamePlayer/common/bmfont.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/gameengine/GamePlayer/common/bmfont.cpp b/source/gameengine/GamePlayer/common/bmfont.cpp index fe6f2187138..8ffbe757222 100644 --- a/source/gameengine/GamePlayer/common/bmfont.cpp +++ b/source/gameengine/GamePlayer/common/bmfont.cpp @@ -73,9 +73,6 @@ void printfGlyph(bmGlyph * glyph) } */ -#define MAX2(x,y) ( (x)>(y) ? (x) : (y) ) -#define MAX3(x,y,z) MAX2( MAX2((x),(y)) , (z) ) - void calcAlpha(ImBuf * ibuf) { int i; |