diff options
Diffstat (limited to 'src/gfx_layout.h')
-rw-r--r-- | src/gfx_layout.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<ParagraphLayout::Line *, 4> { ~LineCacheItem() { delete layout; } }; typedef std::map<LineCacheKey, LineCacheItem> LineCache; - static LineCache linecache; + static LineCache *linecache; static LineCacheItem &GetCachedParagraphLayout(const char *str, size_t len, const FontState &state); |