1
0
Fork 0

(svn r26036) -Fix [FS#5809]: multi line text was handled incorrectly causing glitches

release/1.4
rubidium 2013-11-18 19:35:06 +00:00
parent 88216aa520
commit a36fb735c0
1 changed files with 1 additions and 1 deletions

View File

@ -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);