[normal] don't use expired ncplane 'n' #1492

pull/1494/head
nick black 4 years ago
parent b6a9b59f9d
commit c0dadcd5d7
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -99,7 +99,7 @@ rotate_visual(struct notcurses* nc, struct ncplane* n, int dy, int dx){
if(ncvisual_render(nc, nncv, &nvopts) == NULL){
return -1;
}
ncplane_move_below(notcurses_stdplane(nc), n);
ncplane_move_below(notcurses_stdplane(nc), np);
}
free(path);
}

Loading…
Cancel
Save