add utf8_char_t struct
This commit is contained in:
+2
-2
@@ -2,8 +2,8 @@
|
||||
|
||||
extern struct editorConfig E;
|
||||
|
||||
void abAppend(struct abuf *ab, const char *s, int len) {
|
||||
char *new = realloc(ab->b, ab->len + len);
|
||||
void abAppend(struct abuf *ab, const unsigned char *s, int len) {
|
||||
unsigned char *new = realloc(ab->b, ab->len + len);
|
||||
|
||||
if (new == NULL) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user