diff options
author | June McEnroe <june@causal.agency> | 2019-07-08 22:48:04 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-07-08 22:48:04 -0400 |
commit | 5730b2edac38861c9aa0f768a692864417500958 (patch) | |
tree | 19ebfd2db21fcd6d5cad9c52acfdcdc61310bd6e | |
parent | Add initial version of shotty (diff) | |
download | src-5730b2edac38861c9aa0f768a692864417500958.tar.gz src-5730b2edac38861c9aa0f768a692864417500958.zip |
Use char literals consistently
-rw-r--r-- | bin/shotty.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 = ' '; } } |