sob

Simple output bar
git clone https://git.sinitax.com/codemadness/sob
Log | Files | Refs | README | LICENSE | Upstream | sfeed.txt

commit a4b4f1c4dada4128c004a959c5dd1f40ec340a6e
parent 12d2c2bd8352b53400a7808b51ffdc2aa757c753
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Thu,  2 Oct 2014 01:01:44 +0000

terminate buffer if size = 0

Diffstat:
Msob.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/sob.c b/sob.c @@ -330,6 +330,7 @@ complete_word(void) size_t oldlen = line.len; outbuf[0] = '\0'; + wordbuf[0] = '\0'; line_copywordcursor(wordbuf, sizeof(wordbuf)); if(pipecmd((char**)completewordcmd, wordbuf, outbuf,