plane_blit_sixel: move back to memcpy()

pull/1480/head
nick black 3 years ago committed by Nick Black
parent 094dd89bb7
commit 2e1582af1f

@ -1182,11 +1182,7 @@ plane_blit_sixel(ncplane* n, char* s, int bytes, int placey, int placex,
for(int y = placey ; y < placey + leny && y < ncplane_dim_y(n) ; ++y){
for(int x = placex ; x < placex + lenx && x < ncplane_dim_x(n) ; ++x){
nccell* c = ncplane_cell_ref_yx(n, y, x);
if(x == placex){
memcpy(&c->gcluster, &gcluster, sizeof(gcluster));
}else{
c->gcluster = 0;
}
memcpy(&c->gcluster, &gcluster, sizeof(gcluster));
c->width = lenx;
}
}

Loading…
Cancel
Save