fixed critical bug with line reallocating

This commit is contained in:
Allen Webster 2016-10-29 13:48:21 -04:00
parent 92acc0bc08
commit 8bcf23a848
1 changed files with 1 additions and 0 deletions

View File

@ -865,6 +865,7 @@ file_grow_starts_as_needed(System_Functions *system, General_Memory *general, Bu
if (new_lines){
result = GROW_SUCCESS;
buffer->line_max = max;
buffer->line_starts = new_lines;
}
else{