From a36fb735c06c8ee58aa642e8298e7377a18c466c Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 18 Nov 2013 19:35:06 +0000 Subject: [PATCH] (svn r26036) -Fix [FS#5809]: multi line text was handled incorrectly causing glitches --- src/gfx_layout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gfx_layout.cpp b/src/gfx_layout.cpp index a47e3c8ace..6a3d1ee966 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 -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);