From e0f1048bbeb7dfff28d32edba4a7944a411f6299 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Thu, 6 Oct 2011 18:32:37 +0000 Subject: Avoid interning propstrings table for every stylesheet, style tag and style attribute. svn path=/trunk/libcss/; revision=12972 --- src/parse/language.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/parse/language.h') diff --git a/src/parse/language.h b/src/parse/language.h index 0f1985c..522e981 100644 --- a/src/parse/language.h +++ b/src/parse/language.h @@ -44,7 +44,7 @@ typedef struct css_language { /** \todo These should be statically allocated */ /** Interned strings */ - lwc_string *strings[LAST_KNOWN]; + lwc_string **strings; lwc_string *default_namespace; /**< Default namespace URI */ css_namespace *namespaces; /**< Array of namespace mappings */ -- cgit v1.2.3