From 0c0db5c4c7f509ac631dacd9375e007388abcf92 Mon Sep 17 00:00:00 2001 From: frosch Date: Sun, 7 Jul 2013 12:07:06 +0000 Subject: (svn r25574) -Fix (r25570): Trouble with initialisation order of static members of Layouter and FontCache. --- src/gfx_layout.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gfx_layout.h') diff --git a/src/gfx_layout.h b/src/gfx_layout.h index 1215954cb..c252d15eb 100644 --- a/src/gfx_layout.h +++ b/src/gfx_layout.h @@ -198,7 +198,7 @@ class Layouter : public AutoDeleteSmallVector { ~LineCacheItem() { delete layout; } }; typedef std::map LineCache; - static LineCache linecache; + static LineCache *linecache; static LineCacheItem &GetCachedParagraphLayout(const char *str, size_t len, const FontState &state); -- cgit v1.2.3-54-g00ecf