commit faafc4672caa9547f2cd310cb9c66fe872ce652b
parent dde872dd76dbd877495b7bc3b0b05cfcd37f4db7
Author: hhvn <dev@hhvn.uk>
Date: Fri, 11 Mar 2022 21:07:32 +0000
Fix type warning with wattr_get
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ui.c b/src/ui.c
@@ -885,7 +885,7 @@ ui_wprintc(struct Window *window, int lines, char *format, ...) {
va_list ap;
int ret;
attr_t curattr;
- int temp; /* used only for wattr_get,
+ short temp; /* used only for wattr_get,
because ncurses is dumb */
int cc, lc, elc, utfc;
char colourbuf[2][3];