kill trailing whitespace

This commit is contained in:
nick black 2021-11-24 03:21:29 -05:00 committed by nick black
parent 50fbb0a778
commit ea1c10dcfd
5 changed files with 5 additions and 5 deletions

View File

@ -25,7 +25,7 @@ encoding_x_scale(const tinfo* tcache, const struct blitset* bset) {
// Expand NCBLIT_DEFAULT for media blitting, based on environment. We never
// use NCBLIT_PIXEL for NCBLIT_DEFAULT, though maybe this ought change.
static inline ncblitter_e
static inline ncblitter_e
rgba_blitter_default(const tinfo* tcache, ncscale_e scale){
if(!tcache->caps.utf8){
return NCBLIT_1x1; // only one that works in ASCII

View File

@ -230,7 +230,7 @@ int ncplane_fadeout_iteration(ncplane* n, ncfadectx* nctx, int iter,
return ret;
}
static ncfadectx*
static ncfadectx*
ncfadectx_setup_internal(ncplane* n, const struct timespec* ts){
if(!ncplane_notcurses(n)->tcache.caps.rgb &&
!ncplane_notcurses(n)->tcache.caps.can_change_colors){ // terminal can't fade

View File

@ -1555,7 +1555,7 @@ rgba_trans_p(uint32_t p, uint32_t transcolor){
if(ncpixel_a(p) < 192){
return true;
}
if(transcolor &&
if(transcolor &&
(ncpixel_r(p) == (transcolor & 0xff0000ull) >> 16) &&
(ncpixel_g(p) == (transcolor & 0xff00ull) >> 8) &&
(ncpixel_b(p) == (transcolor & 0xffull))){

View File

@ -390,7 +390,7 @@ ncreel_draw_tablet(const ncreel* nr, nctablet* t, int frontiertop,
}
// We needn't move the resized plane if drawing down, or the focused plane.
// The focused tablet will have been resized properly above, but it might
// be out of position (the focused tablet ought move as little as possible).
// be out of position (the focused tablet ought move as little as possible).
// Move it back to the frontier, or the nearest line above if it has grown.
if(nr->tablets == t){
if(leny - frontiertop + 1 < ll){

View File

@ -36,7 +36,7 @@ int prepare_windows_terminal(tinfo* ti, size_t* tablelen, size_t* tableused){
{ ESCAPE_RMUL, "\x1b[24m", },
{ ESCAPE_SGR0, "\x1b[0m", },
{ ESCAPE_MAX, NULL, }
}, *w;
}, *w;
for(w = wterms ; w->tinfo; ++w){
if(grow_esc_table(ti, w->tinfo, w->esc, tablelen, tableused)){
return -1;