diff src/ops.c @ 7233:9487ea110214 v7.4.925

commit https://github.com/vim/vim/commit/a0ed84a26897c994512873a895b9fc54e90c6845 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Nov 19 17:56:13 2015 +0100 patch 7.4.925 Problem: User may yank or put using the register being recorded in. Solution: Add the recording register in the message. (Christian Brabandt, closes #470)
author Christian Brabandt <cb@256bit.org>
date Thu, 19 Nov 2015 18:00:05 +0100
parents 6cde6404ff7c
children 4c5f53a60543
line wrap: on
line diff
--- a/src/ops.c
+++ b/src/ops.c
@@ -1080,7 +1080,7 @@ do_record(c)
 	    retval = FAIL;
 	else
 	{
-	    Recording = TRUE;
+	    Recording = c;
 	    showmode();
 	    regname = c;
 	    retval = OK;