Commit d6418a40 authored by Jody Goldberg's avatar Jody Goldberg Committed by Jody Goldberg

Patch leak.


2000-06-08  Jody Goldberg <jgoldberg@home.com>

	* src/colrow.c (col_row_restore_sizes_group) : Patch leak.
parent 560f646c
2000-06-08 Jody Goldberg <jgoldberg@home.com>
* src/commands.c (cmd_resize_row_col_undo) : Patch leak.
* src/colrow.c (col_row_restore_sizes) : Arrgghh. Stupid typo.
(col_row_restore_sizes_group) : Patch leak.
* src/workbook-edit.c (entry_changed) : Only autocomplete text that
begins with an alphabetic
......
2000-06-08 Jody Goldberg <jgoldberg@home.com>
* src/commands.c (cmd_resize_row_col_undo) : Patch leak.
* src/colrow.c (col_row_restore_sizes) : Arrgghh. Stupid typo.
(col_row_restore_sizes_group) : Patch leak.
* src/workbook-edit.c (entry_changed) : Only autocomplete text that
begins with an alphabetic
......
2000-06-08 Jody Goldberg <jgoldberg@home.com>
* src/commands.c (cmd_resize_row_col_undo) : Patch leak.
* src/colrow.c (col_row_restore_sizes) : Arrgghh. Stupid typo.
(col_row_restore_sizes_group) : Patch leak.
* src/workbook-edit.c (entry_changed) : Only autocomplete text that
begins with an alphabetic
......
2000-06-08 Jody Goldberg <jgoldberg@home.com>
* src/commands.c (cmd_resize_row_col_undo) : Patch leak.
* src/colrow.c (col_row_restore_sizes) : Arrgghh. Stupid typo.
(col_row_restore_sizes_group) : Patch leak.
* src/workbook-edit.c (entry_changed) : Only autocomplete text that
begins with an alphabetic
......
2000-06-08 Jody Goldberg <jgoldberg@home.com>
* src/commands.c (cmd_resize_row_col_undo) : Patch leak.
* src/colrow.c (col_row_restore_sizes) : Arrgghh. Stupid typo.
(col_row_restore_sizes_group) : Patch leak.
* src/workbook-edit.c (entry_changed) : Only autocomplete text that
begins with an alphabetic
......
2000-06-08 Jody Goldberg <jgoldberg@home.com>
* src/commands.c (cmd_resize_row_col_undo) : Patch leak.
* src/colrow.c (col_row_restore_sizes) : Arrgghh. Stupid typo.
(col_row_restore_sizes_group) : Patch leak.
* src/workbook-edit.c (entry_changed) : Only autocomplete text that
begins with an alphabetic
......
2000-06-08 Jody Goldberg <jgoldberg@home.com>
* src/commands.c (cmd_resize_row_col_undo) : Patch leak.
* src/colrow.c (col_row_restore_sizes) : Arrgghh. Stupid typo.
(col_row_restore_sizes_group) : Patch leak.
* src/workbook-edit.c (entry_changed) : Only autocomplete text that
begins with an alphabetic
......
......@@ -224,16 +224,18 @@ col_row_restore_sizes_group (Sheet *sheet, gboolean const is_cols,
ColRowIndexList *selection,
ColRowSizeList *saved_sizes)
{
while (selection != NULL && saved_sizes != NULL) {
ColRowSizeList *ptr = saved_sizes;
while (selection != NULL && ptr != NULL) {
ColRowIndex *index = selection->data;
col_row_restore_sizes (sheet, is_cols,
index->first, index->last,
saved_sizes->data);
ptr->data);
selection = selection->next;
saved_sizes = saved_sizes->next;
ptr = saved_sizes->next;
}
g_slist_free (saved_sizes);
}
static gboolean
......
......@@ -1426,7 +1426,7 @@ cmd_resize_row_col_undo (GnumericCommand *cmd, CommandContext *context)
col_row_restore_sizes_group (me->sheet, me->is_cols,
me->selection, me->saved_sizes);
me->saved_sizes = col_row_size_list_destroy (me->saved_sizes);
me->saved_sizes = NULL;
sheet_set_dirty (me->sheet, TRUE);
sheet_update (me->sheet);
......
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