Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-12-01 10:29:04 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-12-01 10:29:04 +0400
commit2f97f929a5dcb8b13aec528103ebe0db088aa696 (patch)
tree07d8c37306b788fba6b10fdefd6e391c2a4ad95a /source/gameengine/GamePlayer/common/bmfont.cpp
parenteb490f3aaebb92f3eae232cec3bbc5776d52104b (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/GamePlayer/common/bmfont.cpp')
-rw-r--r--source/gameengine/GamePlayer/common/bmfont.cpp3
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;