diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-09-19 12:07:23 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-09-19 12:07:23 +0400 |
commit | 123a25c52be2386c202fe81a8df042b1cc8cb81f (patch) | |
tree | 5f7f1ac5338a362c13deffa87adad24b5dc040c5 /source/blender/blenkernel/intern | |
parent | db051f2b2ddae22b6ff7468ae5cca7884d5b06da (diff) |
fix txt_redo_read_unicode() missing break - reading 4 byte unicode would fail, same fix was made for txt_undo_read_unicode() recently.
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/text.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/text.c b/source/blender/blenkernel/intern/text.c index 924cb68cfd1..1f1d609ae42 100644 --- a/source/blender/blenkernel/intern/text.c +++ b/source/blender/blenkernel/intern/text.c @@ -1971,6 +1971,7 @@ static unsigned int txt_redo_read_unicode(const char *undo_buf, int *undo_pos, s break; case 4: /* 32-bit unicode symbol */ unicode = txt_undo_read_uint32(undo_buf, undo_pos); + break; default: /* should never happen */ BLI_assert(0); |