More tidying up
This commit is contained in:
parent
fa3af4fe78
commit
88bb8c4639
3
deps/aha/aha.c
vendored
3
deps/aha/aha.c
vendored
@ -332,7 +332,7 @@ char * aha(char *input)
|
||||
{
|
||||
for (;line<80;line++)
|
||||
|
||||
append_output(&output, " ", &size, &outat);
|
||||
append_output(&output, " ", &size, &outat);
|
||||
line=0;
|
||||
momline++;
|
||||
append_output(&output, "<br />", &size, &outat);
|
||||
@ -359,6 +359,7 @@ char * aha(char *input)
|
||||
line=0;
|
||||
append_output(&output, "<br />", &size, &outat);
|
||||
break;
|
||||
case ' ': append_output(&output, " ", &size, &outat); break;
|
||||
default: {
|
||||
sprintf(minibuf, "%c", c);
|
||||
append_output(&output, minibuf, &size, &outat);
|
||||
|
@ -221,7 +221,7 @@
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
.msgbody {
|
||||
#msgbody {
|
||||
background-color: black;
|
||||
color: white;
|
||||
}
|
@ -456,7 +456,7 @@ char *www_msgs_messageview(struct user_record *user, int conference, int area, i
|
||||
}
|
||||
strcat(page, buffer);
|
||||
len += strlen(buffer);
|
||||
sprintf(buffer, "<div id=\"msgbody\"><pre>\n");
|
||||
sprintf(buffer, "<div id=\"msgbody\">\n");
|
||||
if (len + strlen(buffer) > max_len - 1) {
|
||||
max_len += 4096;
|
||||
page = (char *)realloc(page, max_len);
|
||||
@ -480,7 +480,7 @@ char *www_msgs_messageview(struct user_record *user, int conference, int area, i
|
||||
free(aha_out);
|
||||
free(aha_text);
|
||||
|
||||
sprintf(buffer, "</pre></div>\n");
|
||||
sprintf(buffer, "</div>\n");
|
||||
if (len + strlen(buffer) > max_len - 1) {
|
||||
max_len += 4096;
|
||||
page = (char *)realloc(page, max_len);
|
||||
|
Reference in New Issue
Block a user