[sixel] flip it and reverse it #1440

This commit is contained in:
nick black 2021-04-27 22:11:08 -04:00 committed by Nick Black
parent a34714ca68
commit f4ff9beb50

View File

@ -548,7 +548,7 @@ sixel_reblit(sprixel* s, tament* tam){
if(fp == NULL){
return -1;
}
if(fwrite(s->glyph, s->parse_start, 1, fp) != (size_t)s->parse_start){
if(fwrite(s->glyph, s->parse_start, 1, fp) != 1){
fclose(fp);
free(buf);
return -1;