Commit 5c651abc authored by Michael Meeks's avatar Michael Meeks
Browse files

Fix style issue on row/col delete.

parent 7fc4d11f
2000-01-27 Michael Meeks <mmeeks@gnu.org>
* src/sheet-object.c (sheet_object_drop_file): fix typo.
* src/sheet-style.c (sheet_style_delete_colrow): Fix bug in style
shifting.
2000-01-26 Jody Goldberg <jgoldberg@home.com>
* src/gnumeric-util.c (gnumeric_dialog_run) : Handle the setting of
......@@ -132,7 +139,6 @@
2000-01-23 Michael Meeks <michael@edenproject.org>
* src/ranges.c (range_translate): fix glaring bugs + make
semantics saner.
(range_transpose): implement.
......
2000-01-27 Michael Meeks <mmeeks@gnu.org>
* src/sheet-object.c (sheet_object_drop_file): fix typo.
* src/sheet-style.c (sheet_style_delete_colrow): Fix bug in style
shifting.
2000-01-26 Jody Goldberg <jgoldberg@home.com>
* src/gnumeric-util.c (gnumeric_dialog_run) : Handle the setting of
......@@ -132,7 +139,6 @@
2000-01-23 Michael Meeks <michael@edenproject.org>
* src/ranges.c (range_translate): fix glaring bugs + make
semantics saner.
(range_transpose): implement.
......
......@@ -725,7 +725,7 @@ sheet_style_delete_colrow (Sheet *sheet, int pos, int count,
if (sr->range.start.col > del_range.end.col)
sr->range.start.col -= count;
else if (sr->range.start.col >= del_range.start.col)
sr->range.start.col = pos + 1;
sr->range.start.col = pos;
if (sr->range.end.col > del_range.end.col)
sr->range.end.col -= count;
......@@ -740,7 +740,7 @@ sheet_style_delete_colrow (Sheet *sheet, int pos, int count,
if (sr->range.start.row > del_range.end.row)
sr->range.start.row -= count;
else if (sr->range.start.row >= del_range.start.row)
sr->range.start.row = pos + 1;
sr->range.start.row = pos;
if (sr->range.end.row > del_range.end.row)
sr->range.end.row -= count;
......
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