remove debug

This commit is contained in:
Night Kaly 2024-07-03 13:13:20 +01:00
parent ae68d34fe9
commit 42c2b39692
Signed by: night0721
GPG key ID: 957D67B8DB7A119B

View file

@ -174,10 +174,7 @@ void draw_rows(struct abuf *ab)
} else {
size_t 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)) {
fprintf(f, "color: %s\n", color);
memcpy(current_color, color, len);
abAppend(ab, color, len);
}