From 5730b2edac38861c9aa0f768a692864417500958 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Mon, 8 Jul 2019 22:48:04 -0400 Subject: Use char literals consistently --- bin/shotty.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/shotty.c') diff --git a/bin/shotty.c b/bin/shotty.c index d043ab7e..c1c47cce 100644 --- a/bin/shotty.c +++ b/bin/shotty.c @@ -79,7 +79,7 @@ static char updateNUL(wchar_t ch) { for (int i = 1; i < width; ++i) { cell(y, x + i)->style = style; - cell(y, x + i)->ch = L'\0'; + cell(y, x + i)->ch = '\0'; } x = MIN(x + width, cols - 1); @@ -157,7 +157,7 @@ static char updateCSI(wchar_t ch) { if (ps[0] == 1) to = cell(y, x); for (struct Cell *clear = from; clear <= to; ++clear) { clear->style = style; - clear->ch = L' '; + clear->ch = ' '; } } break; case EL: { @@ -167,7 +167,7 @@ static char updateCSI(wchar_t ch) { if (ps[0] == 1) to = cell(y, x); for (struct Cell *clear = from; clear <= to; ++clear) { clear->style = style; - clear->ch = L' '; + clear->ch = ' '; } } -- cgit 1.4.1