Commit d9919ec0 authored by Miguel de Icaza's avatar Miguel de Icaza Committed by Arturo Espinosa
Browse files

Add a call to sheet_cell_remove before calling cell_destroy.

1999-01-25  Miguel de Icaza  <miguel@nuclecu.unam.mx>

	* src/sheet-autofill.c (sheet_autofill_dir): Add a call to
	sheet_cell_remove before calling cell_destroy.
parent 92e665c0
1999-01-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/sheet-autofill.c (sheet_autofill_dir): Add a call to
sheet_cell_remove before calling cell_destroy.
1999-01-23 Bruno Unna <bruno@iac.com.mx>
* src/dialog-cell-format.c: Reactivated the 'Coloring' page
......
1999-01-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/sheet-autofill.c (sheet_autofill_dir): Add a call to
sheet_cell_remove before calling cell_destroy.
1999-01-23 Bruno Unna <bruno@iac.com.mx>
* src/dialog-cell-format.c: Reactivated the 'Coloring' page
......
1999-01-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/sheet-autofill.c (sheet_autofill_dir): Add a call to
sheet_cell_remove before calling cell_destroy.
1999-01-23 Bruno Unna <bruno@iac.com.mx>
* src/dialog-cell-format.c: Reactivated the 'Coloring' page
......
1999-01-25 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/sheet-autofill.c (sheet_autofill_dir): Add a call to
sheet_cell_remove before calling cell_destroy.
1999-01-23 Bruno Unna <bruno@iac.com.mx>
* src/dialog-cell-format.c: Reactivated the 'Coloring' page
......
......@@ -567,8 +567,10 @@ sheet_autofill_dir (Sheet *sheet,
cell = sheet_cell_get (sheet, x, y);
if (fi->type == FILL_EMPTY){
if (cell)
if (cell){
sheet_cell_remove (sheet, cell);
cell_destroy (cell);
}
} else {
if (!cell)
cell = sheet_cell_new (sheet, x, y);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment