indentation fixes (tab->spaces)

This commit is contained in:
Enno Rehling 2015-06-26 14:31:21 +02:00
parent 9b42824a5e
commit 3ba2b3d4d7
8 changed files with 81 additions and 81 deletions

View File

@ -978,7 +978,7 @@ void split_paragraph(strlist ** SP, const char *s, unsigned int indent, unsigned
assert(width <= REPORTWIDTH);
width -= indent;
firstline = (mark!=0 && indent>2);
firstline = (mark != 0 && indent > 2);
*SP = 0;
while (len > 0) {
@ -1002,7 +1002,7 @@ void split_paragraph(strlist ** SP, const char *s, unsigned int indent, unsigned
if (!cut) {
cut = s + _min(len, REPORTWIDTH);
}
strncpy(buf+indent, s, cut - s);
strncpy(buf + indent, s, cut - s);
buf[indent + (cut - s)] = 0;
addstrlist(SP, buf); // TODO: too much string copying, cut out this function
while (*cut == ' ') {
@ -2445,7 +2445,7 @@ static void eval_trail(struct opstack **stack, const void *userdata)
}
}
*bufp = 0;
var.v = strcpy(balloc((size_t)(bufp - buf +1)), buf);
var.v = strcpy(balloc((size_t)(bufp - buf + 1)), buf);
opush(stack, var);
#ifdef _SECURECRT_ERRCODE_VALUES_DEFINED
if (errno == ERANGE) {