From 713c9afb3927d12086c7bbcd11b947893e6ccc92 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 27 Feb 2013 14:19:44 +0000 Subject: fix [#34460] text editor freezes when turning on syntax highlight --- source/blender/editors/space_text/text_format.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/space_text') diff --git a/source/blender/editors/space_text/text_format.c b/source/blender/editors/space_text/text_format.c index a8c2de193c4..3c7897200ed 100644 --- a/source/blender/editors/space_text/text_format.c +++ b/source/blender/editors/space_text/text_format.c @@ -157,7 +157,7 @@ void text_format_fill(const char **str_p, char **fmt_p, const char type, const i *fmt++ = type; str += size; - i += size; + i += 1; } str--; -- cgit v1.2.3