summaryrefslogtreecommitdiff
path: root/src/getchar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/getchar.c')
-rw-r--r--src/getchar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/getchar.c b/src/getchar.c
index 60a2a9b42..4c38cd758 100644
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -1201,8 +1201,8 @@ gotchars(s, len)
may_sync_undo()
{
if ((!(State & (INSERT + CMDLINE)) || arrow_used)
- && scriptin[curscript] == NULL && no_u_sync == 0)
- u_sync();
+ && scriptin[curscript] == NULL)
+ u_sync(FALSE);
}
/*