argh :P 20 was intentional
authorRudolf Polzer <divverent@alientrap.org>
Sun, 25 Jul 2010 15:16:46 +0000 (17:16 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Sun, 25 Jul 2010 15:16:46 +0000 (17:16 +0200)
contrib/brushexport/export.cpp

index c406f198c9304173655f2bb01b22d953678e1f8e..0407432e35d6c4b56589b07d9c1b72b64ac3dc4a 100644 (file)
@@ -11,8 +11,8 @@
 // this is very evil, but right now there is no better way
 #include "../../radiant/brush.h"
 
-#define MAX_MATERIAL_NAME (64+9-1)
-// MAX_QPATH plus "textures/" prefix, allow trailing NUL to fit
+// for limNames
+#define MAX_MATERIAL_NAME 20
 
 /*
        Abstract baseclass for modelexporters