mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-02 09:40:15 +00:00
awww fuck me in the ass #429
This commit is contained in:
parent
a45d888601
commit
ac31bf3a12
@ -384,7 +384,7 @@ ncplane* ncplane_dup(ncplane* n, void* opaque){
|
||||
n->attrword = attr;
|
||||
n->channels = chan;
|
||||
ncplane_move_above_unsafe(newn, n);
|
||||
memcpy(newn->fb, n->fb, sizeof(*n->fb) * dimy * dimy);
|
||||
memmove(newn->fb, n->fb, sizeof(*n->fb) * dimx * dimy);
|
||||
}
|
||||
}
|
||||
return newn;
|
||||
|
Loading…
Reference in New Issue
Block a user