diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-03-29 08:24:41 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-03-29 09:11:46 +0300 |
commit | 424fed3cc7c7a140d37d9257b6cf37f0c26da1fb (patch) | |
tree | aab867d5dc3407f5df3adc0b919c4ad7bc6e86fc /source/blender/editors/interface/interface_handlers.c | |
parent | aec9e0e1b61a10e62612522bf3f86e0afd7294a3 (diff) |
Cleanup: remove unicode character printing
Was added when utf8 was originally introduced - for testing,
but is no longer needed.
Diffstat (limited to 'source/blender/editors/interface/interface_handlers.c')
-rw-r--r-- | source/blender/editors/interface/interface_handlers.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c index 07d5dd6e544..d378613c035 100644 --- a/source/blender/editors/interface/interface_handlers.c +++ b/source/blender/editors/interface/interface_handlers.c @@ -3739,12 +3739,7 @@ static void ui_do_but_textedit( if (utf8_buf && utf8_buf[0]) { int utf8_buf_len = BLI_str_utf8_size(utf8_buf); - /* keep this printf until utf8 is well tested */ - if (utf8_buf_len != 1) { - printf("%s: utf8 char '%.*s'\n", __func__, utf8_buf_len, utf8_buf); - } - - // strcpy(utf8_buf, "12345"); + BLI_assert(utf8_buf_len != -1); changed = ui_textedit_insert_buf(but, data, event->utf8_buf, utf8_buf_len); } else { |