]> git.xonotic.org Git - xonotic/netradiant.git/blobdiff - radiant/eclass.cpp
Wrap some buffers
[xonotic/netradiant.git] / radiant / eclass.cpp
index ea9828e510857749ebe09e3a0eacee48f19f1c2a..892a2ddecae801d0e82d387fd2552129021d6d66 100644 (file)
@@ -24,6 +24,7 @@
 #include "debugging/debugging.h"
 
 #include <map>
+#include <util/buffer.h>
 
 #include "ifilesystem.h"
 
@@ -45,7 +46,7 @@ namespace
 typedef std::map<const char*, EntityClass*, RawStringLessNoCase> EntityClasses;
 EntityClasses g_entityClasses;
 EntityClass   *eclass_bad = 0;
-char eclass_directory[1024];
+u::BufferVal<1024> eclass_directory;
 typedef std::map<CopiedString, ListAttributeType> ListAttributeTypes;
 ListAttributeTypes g_listTypes;
 }