diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-02-18 18:35:35 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-02-18 18:35:35 -0500 |
commit | 2bac729d5166f87b9290e1b466b4aa814b1bb1c0 (patch) | |
tree | 15568be3b41c5aa82e70173756f12fdfbf8a7b3b /buffer.c | |
parent | 5fa8e041356038034327ade41545677dd3007679 (diff) |
go to MSVC error
Diffstat (limited to 'buffer.c')
-rw-r--r-- | buffer.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -646,8 +646,9 @@ static void buffer_print(TextBuffer const *buffer) { for (u32 j = 0; j < line->len; ++j) { // on windows, this will print characters outside the Basic Multilingual Plane incorrectly // but this function is just for debugging anyways - putwchar((wchar_t)line->str[j]); + print("%lc", (wchar_t)line->str[j]); } + print("\n"); } fflush(stdout); } |