equal
deleted
inserted
replaced
290 } |
290 } |
291 |
291 |
292 /* If there is none found, we grow the array */ |
292 /* If there is none found, we grow the array */ |
293 if (i == _num_text_effects) { |
293 if (i == _num_text_effects) { |
294 _num_text_effects += 25; |
294 _num_text_effects += 25; |
295 _text_effect_list = (TextEffect*) realloc(_text_effect_list, _num_text_effects * sizeof(TextEffect)); |
295 _text_effect_list = ReallocT<TextEffect>(_text_effect_list, _num_text_effects); |
296 for (; i < _num_text_effects; i++) _text_effect_list[i].string_id = INVALID_STRING_ID; |
296 for (; i < _num_text_effects; i++) _text_effect_list[i].string_id = INVALID_STRING_ID; |
297 i = _num_text_effects - 1; |
297 i = _num_text_effects - 1; |
298 } |
298 } |
299 |
299 |
300 te = &_text_effect_list[i]; |
300 te = &_text_effect_list[i]; |