summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrés <andmarti@gmail.com>2023-06-10 14:51:08 -0300
committerAndrés <andmarti@gmail.com>2023-06-10 14:51:08 -0300
commit62739e477e4fd28258324c5d40a1455644a0924b (patch)
treeca43859bf6b3f3a1fb06c96d9f93781caf01a126
parent45423e6b00561d9e2c3ea29875a4323d3d9c2c8c (diff)
fix number 2 of issue 769
-rw-r--r--src/cmds/cmds.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmds/cmds.c b/src/cmds/cmds.c
index cd32bcf..ba2fba8 100644
--- a/src/cmds/cmds.c
+++ b/src/cmds/cmds.c
@@ -366,11 +366,11 @@ void copyent(struct ent * n, struct sheet * sh_p, struct ent * p, int dr, int dc
sc_error("copyent: internal error");
return;
}
- n->flags = may_sync;
if (p->flags & is_deleted)
n->flags |= is_deleted;
if (special != 'f') {
+ n->flags = may_sync;
if (p->flags & is_valid) {
n->v = p->v;
n->flags |= p->flags & is_valid;