diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-02-27 18:19:44 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-02-27 18:19:44 +0400 |
commit | 713c9afb3927d12086c7bbcd11b947893e6ccc92 (patch) | |
tree | 0bda816b5d0e5c9d3248818142dcf2e5a6763231 /source/blender/editors/space_text/text_format.c | |
parent | debc3ac91072b1fb8814629fa6545734cc5d90e3 (diff) |
fix [#34460] text editor freezes when turning on syntax highlight
Diffstat (limited to 'source/blender/editors/space_text/text_format.c')
-rw-r--r-- | source/blender/editors/space_text/text_format.c | 2 |
1 files changed, 1 insertions, 1 deletions
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--; |