diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-06-27 01:15:55 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-06-27 01:15:55 +0200 |
commit | a800b42975f7a62282cb90d8c61ef3cff2fe810a (patch) | |
tree | 9ecc9705a77dcc23b87ba2dffb9a06765625519a /src/fileio.c | |
parent | d69980f9dd1a538e9ba4313616f3be452c95206d (diff) | |
download | vim-git-a800b42975f7a62282cb90d8c61ef3cff2fe810a.tar.gz |
Add file save counter to undo information. Add undotree() function.
Diffstat (limited to 'src/fileio.c')
-rw-r--r-- | src/fileio.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/fileio.c b/src/fileio.c index b09946167..967f49ea4 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -4817,11 +4817,8 @@ restore_backup: STRCAT(IObuff, _(" CONVERSION ERROR")); c = TRUE; if (write_info.bw_conv_error_lnum != 0) - { - size_t l = STRLEN(IObuff); - vim_snprintf((char *)IObuff + l, IOSIZE - l, _(" in line %ld;"), + vim_snprintf_add((char *)IObuff, IOSIZE, _(" in line %ld;"), (long)write_info.bw_conv_error_lnum); - } } else if (notconverted) { |