Cleanup: remove unicode character printing

Was added when utf8 was originally introduced - for testing,
but is no longer needed.
This commit is contained in:
Campbell Barton 2020-03-29 16:24:41 +11:00
parent aec9e0e1b6
commit 424fed3cc7
1 changed files with 1 additions and 6 deletions

View File

@ -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 {