mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-02 09:40:15 +00:00
sigh
This commit is contained in:
parent
34ece28702
commit
7b13576dce
@ -1586,7 +1586,7 @@ int ncdirect_set_bg_rgb(ncdirect* nc, unsigned rgb){
|
|||||||
fbuf_free(&f);
|
fbuf_free(&f);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
if(fbuf_finalize(f, nc->ttyfp) < 0){
|
if(fbuf_finalize(&f, nc->ttyfp) < 0){
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
ncchannels_set_bg_rgb(&nc->channels, rgb);
|
ncchannels_set_bg_rgb(&nc->channels, rgb);
|
||||||
@ -1609,7 +1609,7 @@ int ncdirect_set_fg_rgb(ncdirect* nc, unsigned rgb){
|
|||||||
fbuf_free(&f);
|
fbuf_free(&f);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
if(fbuf_finalize(f, nc->ttyfp) < 0){
|
if(fbuf_finalize(&f, nc->ttyfp) < 0){
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
ncchannels_set_fg_rgb(&nc->channels, rgb);
|
ncchannels_set_fg_rgb(&nc->channels, rgb);
|
||||||
|
Loading…
Reference in New Issue
Block a user