remove debug
This commit is contained in:
parent
ae68d34fe9
commit
42c2b39692
1 changed files with 0 additions and 3 deletions
|
@ -174,10 +174,7 @@ void draw_rows(struct abuf *ab)
|
||||||
} else {
|
} else {
|
||||||
size_t len;
|
size_t len;
|
||||||
char *color = syntax_to_color(hl[j], &len);
|
char *color = syntax_to_color(hl[j], &len);
|
||||||
FILE *f = fopen("/home/night/a", "a");
|
|
||||||
fprintf(f, "len: %d\n", len);
|
|
||||||
if (strncmp(current_color, color, len)) {
|
if (strncmp(current_color, color, len)) {
|
||||||
fprintf(f, "color: %s\n", color);
|
|
||||||
memcpy(current_color, color, len);
|
memcpy(current_color, color, len);
|
||||||
abAppend(ab, color, len);
|
abAppend(ab, color, len);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue