| 440 | if(len > CSLIMIT_STRINGLEN) { cslimiterr("string length"); return newstring(""); } |
| 441 | char *r = newstring("", len), *res = r; |
| 442 | loopi(n) |
| 443 | { |
| 444 | strncpy(r, w[i], wlen[i]); // make string-list out of all arguments |
| 445 | r += wlen[i]; |
| 446 | if(space) *r++ = ' '; |
| 447 | } |
| 448 | if(space && n) --r; |
| 449 | *r = '\0'; |
| 450 | return res; |