diff options
author | Andrés <andmarti@gmail.com> | 2021-12-15 18:58:16 -0300 |
---|---|---|
committer | Andrés <andmarti@gmail.com> | 2021-12-15 18:58:16 -0300 |
commit | 5960fad0b8afe6d94ae718bf3af6249a529fc0f8 (patch) | |
tree | fae9df149029f57bab54290f79e995ba9aa227d4 | |
parent | 39c50c8156e56c0319c8bbe892cd67fda7a8ddcf (diff) |
fix in unformat. call to copy_to_undostruct with wrong parameters.
-rw-r--r-- | CHANGES | 2 | ||||
-rw-r--r-- | src/color.c | 4 |
2 files changed, 4 insertions, 2 deletions
@@ -69,6 +69,8 @@ fix in cw dw c$ d$ commands of EDIT_MODE fix leak in del_selected_cells fix when using C-r in INSERT_MODE fix arguments reversed on sc.colrow2a +fix in delete_filters that caused SEGFAULT. Issue 637. +fix in unformat. call to copy_to_undostruct with wrong parameters. Pending to make v0.8.3 release diff --git a/src/color.c b/src/color.c index d92b1e2..c8aeedb 100644 --- a/src/color.c +++ b/src/color.c @@ -507,7 +507,7 @@ void unformat(struct sheet * sh, int r, int c, int rf, int cf) { roman->modflg++; #ifdef UNDO create_undo_action(); - copy_to_undostruct(sh, r, rf, c, cf, UNDO_DEL, IGNORE_DEPS, NULL); + copy_to_undostruct(sh, r, c, rf, cf, UNDO_DEL, IGNORE_DEPS, NULL); #endif } @@ -527,7 +527,7 @@ void unformat(struct sheet * sh, int r, int c, int rf, int cf) { } if (! roman->loading) { #ifdef UNDO - copy_to_undostruct(sh, r, rf, c, cf, UNDO_ADD, IGNORE_DEPS, NULL); + copy_to_undostruct(sh, r, c, rf, cf, UNDO_ADD, IGNORE_DEPS, NULL); end_undo_action(); #endif ui_update(TRUE); |