remove trailing whitespace

This commit is contained in:
Andrew Pamment 2017-03-31 07:12:47 +10:00
parent 172cca18a7
commit 65cecb4bc2

4
deps/aha/aha.c vendored
View File

@ -101,6 +101,8 @@ char * aha(char *input)
int unmangle_out_len; int unmangle_out_len;
unmangle_ansi(input, strlen(input), &unmangle_out, &unmangle_out_len); unmangle_ansi(input, strlen(input), &unmangle_out, &unmangle_out_len);
unmangle_out[unmangle_out_len] = '\0';
//Begin of Conversion //Begin of Conversion
unsigned int c; unsigned int c;
int fc = -1; //Standard Foreground Color //IRC-Color+8 int fc = -1; //Standard Foreground Color //IRC-Color+8
@ -332,7 +334,7 @@ char * aha(char *input)
{ {
for (;line<80;line++) for (;line<80;line++)
append_output(&output, "&nbsp;", &size, &outat); append_output(&output, "&nbsp;", &size, &outat);
line=0; line=0;
momline++; momline++;
append_output(&output, "<br />", &size, &outat); append_output(&output, "<br />", &size, &outat);