normal: fix plane rotation quit reported as FAILED #802

This commit is contained in:
nick black 2020-07-18 20:15:56 -04:00 committed by Nick Black
parent d9bfb52225
commit f8c47b0681

View File

@ -221,7 +221,7 @@ int normal_demo(struct notcurses* nc){
if(notcurses_canutf8(nc)){
ncplane_erase(nstd);
ncplane_home(n);
if(rotate_plane(nc, n)){
if( (r = rotate_plane(nc, n)) ){
goto err;
}
}