Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-02-27 18:19:44 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-02-27 18:19:44 +0400
commit713c9afb3927d12086c7bbcd11b947893e6ccc92 (patch)
tree0bda816b5d0e5c9d3248818142dcf2e5a6763231 /source/blender/editors/space_text
parentdebc3ac91072b1fb8814629fa6545734cc5d90e3 (diff)
fix [#34460] text editor freezes when turning on syntax highlight
Diffstat (limited to 'source/blender/editors/space_text')
-rw-r--r--source/blender/editors/space_text/text_format.c2
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--;