1 To: vim_dev@googlegroups.com
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 Problem: :wundo and :rundo use a wrong checksum.
12 Solution: Include the last line when computing the hash. (Christian Brabandt)
16 *** ../vim-7.3.366/src/undo.c 2011-01-22 21:25:07.000000000 +0100
17 --- src/undo.c 2011-12-08 14:19:03.000000000 +0100
23 ! for (lnum = 1; lnum < curbuf->b_ml.ml_line_count; ++lnum)
26 sha256_update(&ctx, p, (UINT32_T)(STRLEN(p) + 1));
31 ! for (lnum = 1; lnum <= curbuf->b_ml.ml_line_count; ++lnum)
34 sha256_update(&ctx, p, (UINT32_T)(STRLEN(p) + 1));
35 *** ../vim-7.3.366/src/version.c 2011-12-08 15:12:08.000000000 +0100
36 --- src/version.c 2011-12-08 15:13:32.000000000 +0100
40 { /* Add new patch number below this line */
46 hundred-and-one symptoms of being an internet addict:
47 247. You use www.switchboard.com instead of dialing 411 and 555-12-12
48 for directory assistance.
50 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
51 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
52 \\\ an exciting new programming language -- http://www.Zimbu.org ///
53 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///