| 274 | } |
| 275 | |
| 276 | void String_AppendColorless(cc_string* str, const cc_string* src) { |
| 277 | char c; |
| 278 | int i; |
| 279 | |
| 280 | for (i = 0; i < src->length; i++) { |
| 281 | c = src->buffer[i]; |
| 282 | if (c == '&') { i++; continue; } /* Skip over the following color code */ |
| 283 | String_Append(str, c); |
| 284 | } |
| 285 | } |
| 286 | |
| 287 | |
| 288 | int String_IndexOfAt(const cc_string* str, int offset, char c) { |
no test coverage detected