Cleanup: remove unicode character printing
Was added when utf8 was originally introduced - for testing, but is no longer needed.
This commit is contained in:
		@@ -3739,12 +3739,7 @@ static void ui_do_but_textedit(
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
      if (utf8_buf && utf8_buf[0]) {
 | 
					      if (utf8_buf && utf8_buf[0]) {
 | 
				
			||||||
        int utf8_buf_len = BLI_str_utf8_size(utf8_buf);
 | 
					        int utf8_buf_len = BLI_str_utf8_size(utf8_buf);
 | 
				
			||||||
        /* keep this printf until utf8 is well tested */
 | 
					        BLI_assert(utf8_buf_len != -1);
 | 
				
			||||||
        if (utf8_buf_len != 1) {
 | 
					 | 
				
			||||||
          printf("%s: utf8 char '%.*s'\n", __func__, utf8_buf_len, utf8_buf);
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
        // strcpy(utf8_buf, "12345");
 | 
					 | 
				
			||||||
        changed = ui_textedit_insert_buf(but, data, event->utf8_buf, utf8_buf_len);
 | 
					        changed = ui_textedit_insert_buf(but, data, event->utf8_buf, utf8_buf_len);
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
      else {
 | 
					      else {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user