diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gfx_layout.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gfx_layout.cpp b/src/gfx_layout.cpp index a47e3c8ac..6a3d1ee96 100644 --- a/src/gfx_layout.cpp +++ b/src/gfx_layout.cpp @@ -569,7 +569,7 @@ static FallbackParagraphLayout *GetParagraphLayout(WChar *buff, WChar *buff_end, * @tparam T The type of layouter we want. */ template <typename T> -static inline void GetLayouter(Layouter::LineCacheItem &line, const char *str, FontState state) +static inline void GetLayouter(Layouter::LineCacheItem &line, const char *&str, FontState &state) { if (line.buffer != NULL) free(line.buffer); |