--- a/src/primitives.cpp Thu Dec 05 13:51:52 2013 +0200 +++ b/src/primitives.cpp Thu Dec 05 23:20:50 2013 +0200 @@ -169,7 +169,7 @@ // ----------------------------------------------------------------------------- static PrimitiveCategory* findCategory (str name) { for (PrimitiveCategory & cat : g_PrimitiveCategories) - if (cat.name() == name) + if (cat.getName() == name) return &cat; return null;