Commit 3aafc86e authored by Jody Goldberg's avatar Jody Goldberg
Browse files

Fix typo.

parent 628c7a38
......@@ -4,6 +4,7 @@
Use the undo framework.
* src/sheet.c (sheet_fill_selection_with) : Take a context.
(sheet_save_row_col_sizes) : Use is_cols. Doh!
* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet) : Add
Alt-Pg{Up,Down}. sheet_fill_selection_with now takes a context.
......
......@@ -4,6 +4,7 @@
Use the undo framework.
* src/sheet.c (sheet_fill_selection_with) : Take a context.
(sheet_save_row_col_sizes) : Use is_cols. Doh!
* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet) : Add
Alt-Pg{Up,Down}. sheet_fill_selection_with now takes a context.
......
......@@ -3749,7 +3749,9 @@ sheet_save_row_col_sizes (Sheet *sheet, gboolean const is_cols,
res = g_new (double, count);
for (i = 0 ; i < count ; ++i) {
ColRowInfo *info = sheet_col_get_info (sheet, index + i);
ColRowInfo *info = is_cols
? sheet_col_get_info (sheet, index + i)
: sheet_row_get_info (sheet, index + i);
g_return_val_if_fail (info != NULL, NULL); /* be anal, and leak */
res[i] = info->units;
if (info->hard_size)
......
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