fixed critical bug with line reallocating
This commit is contained in:
parent
92acc0bc08
commit
8bcf23a848
|
@ -865,6 +865,7 @@ file_grow_starts_as_needed(System_Functions *system, General_Memory *general, Bu
|
||||||
|
|
||||||
if (new_lines){
|
if (new_lines){
|
||||||
result = GROW_SUCCESS;
|
result = GROW_SUCCESS;
|
||||||
|
buffer->line_max = max;
|
||||||
buffer->line_starts = new_lines;
|
buffer->line_starts = new_lines;
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
|
Loading…
Reference in New Issue