Merge remote-tracking branch 'origin/master' into Configure

Merge the latest changes into my configured branch.
A.K.A update the base but keep the changes
This commit is contained in:
Robert Morrison 2021-11-11 17:31:30 +00:00
commit bd43b9c1c9
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@
*/ */
#define ALPHA_GRADIENT_PATCH 0 #define ALPHA_GRADIENT_PATCH 0
/* This patch allows st to reize to any pixel size rather than snapping to character width/height. /* This patch allows st to resize to any pixel size rather than snapping to character width/height.
* https://st.suckless.org/patches/anysize/ * https://st.suckless.org/patches/anysize/
*/ */
#define ANYSIZE_PATCH 1 #define ANYSIZE_PATCH 1

View File

@ -252,7 +252,7 @@ sixel_parser_finalize(sixel_state_t *st, unsigned char *pixels)
*dst++ = color >> 16 & 0xff; /* b */ *dst++ = color >> 16 & 0xff; /* b */
*dst++ = color >> 8 & 0xff; /* g */ *dst++ = color >> 8 & 0xff; /* g */
*dst++ = color >> 0 & 0xff; /* r */ *dst++ = color >> 0 & 0xff; /* r */
dst++; /* a */ *dst++ = 255; /* a */
} }
/* fill right padding with bgcolor */ /* fill right padding with bgcolor */
for (; x < st->image.width; ++x) { for (; x < st->image.width; ++x) {