@@ -66,7 +66,7 @@ string string_from_cstr(char* c) {
}
void string_grow_min(string* s, size_t min_growth) {
s->cap = max(min_growth, s->cap*GROWTH_FACTOR);
s->cap = max(s->cap+min_growth, s->cap*GROWTH_FACTOR);
s->str = realloc(s->str, s->cap);
The note is not visible to the blocked user.