summaryrefslogtreecommitdiffstats
path: root/src/yank.c
diff options
context:
space:
mode:
authormongo <mongo@iomega>2016-05-12 17:14:07 -0300
committermongo <mongo@iomega>2016-05-12 17:14:07 -0300
commitbdd578b470273d0bcb3efc57963670361803b592 (patch)
tree5dd2fe579ead872a002bf118033debd15ba35d6e /src/yank.c
parent232178e1b0bfa18ab25e9b33b4babc08307258ae (diff)
more changes in dep_graph
Diffstat (limited to 'src/yank.c')
-rw-r--r--src/yank.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/yank.c b/src/yank.c
index a9cc420..33c09a3 100644
--- a/src/yank.c
+++ b/src/yank.c
@@ -195,9 +195,9 @@ int paste_yanked_ents(int above, int type_paste) {
// if so, just return
if (type_of_yank == 'a' || type_of_yank == 'e') {
while (yll != NULL) {
- if (any_locked_cells(yll->row + diffr, yll->col + diffc, yll->row + diffr, yll->col + diffc))
- return -1;
- yll = yll->next;
+ if (any_locked_cells(yll->row + diffr, yll->col + diffc, yll->row + diffr, yll->col + diffc))
+ return -1;
+ yll = yll->next;
}
}