summaryrefslogtreecommitdiffstats
path: root/src/usercmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/usercmd.c')
-rw-r--r--src/usercmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usercmd.c b/src/usercmd.c
index 1a6fbeebc6..7ff7f02d7e 100644
--- a/src/usercmd.c
+++ b/src/usercmd.c
@@ -191,7 +191,7 @@ find_ucmd(
{
xp->xp_arg = uc->uc_compl_arg;
xp->xp_script_ctx = uc->uc_script_ctx;
- xp->xp_script_ctx.sc_lnum += sourcing_lnum;
+ xp->xp_script_ctx.sc_lnum += SOURCING_LNUM;
}
# endif
// Do not search for further abbreviations
@@ -956,7 +956,7 @@ uc_add_command(
cmd->uc_compl = compl;
#ifdef FEAT_EVAL
cmd->uc_script_ctx = current_sctx;
- cmd->uc_script_ctx.sc_lnum += sourcing_lnum;
+ cmd->uc_script_ctx.sc_lnum += SOURCING_LNUM;
cmd->uc_compl_arg = compl_arg;
#endif
cmd->uc_addr_type = addr_type;