| 2261 | } |
| 2262 | |
| 2263 | static void TextGroupWidget_RemoveColorPrefix(cc_string* text, int i) { |
| 2264 | if (i + 2 > text->length || text->buffer[i] != '&') return; |
| 2265 | if (!Drawer2D_ValidColorCodeAt(text, i + 1)) return; |
| 2266 | |
| 2267 | String_DeleteAt(text, i + 1); |
| 2268 | String_DeleteAt(text, i); |
| 2269 | } |
| 2270 | |
| 2271 | static void TextGroupWidget_FormatUrl(cc_string* text, const cc_string* url) { |
| 2272 | char* dst; |
no test coverage detected