diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-09-15 14:40:05 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-09-15 14:40:05 +0400 |
commit | 219b748dfc556d9920434fc67a9d0e980e8e7fab (patch) | |
tree | 159ee472834b9ca2169b4ae27157c317198f3e53 | |
parent | 3e48bef023bc67d19832a82eb92e35620ce55007 (diff) |
fix for bug in txt_undo_read_uint32() reading 4byte unicode values.
-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 3c89fdba13a..924cb68cfd1 100644 --- a/source/blender/blenkernel/intern/text.c +++ b/source/blender/blenkernel/intern/text.c @@ -1919,6 +1919,7 @@ static unsigned int txt_undo_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); |