From 3315a7d3bb8560bad215febe7a69187707dac4e3 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 8 Oct 2016 17:56:07 -0700 Subject: 3488 - I'd messed up termbox in commit 3443; it was weird how it failed though. The terminal got really sluggish to switch between windows when the edit/ app was running. And it stopped clearing the screen properly. --- termbox/output.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'termbox') diff --git a/termbox/output.inl b/termbox/output.inl index 43ebed3b..d87049ef 100644 --- a/termbox/output.inl +++ b/termbox/output.inl @@ -245,7 +245,7 @@ static const char *terminfo_copy_string(char *data, int str, int table) { const char *src = data + table + off; int len = strlen(src); char *dst = malloc(len+1); - string_copy(dst, src, len); + string_copy(dst, src, len+1); return dst; } -- cgit 1.4.1-2-gfad0