Fix a few compiler warnings. Fix crash with encrypted undo file.
This commit is contained in:
@ -285,6 +285,13 @@ Reading an existing undo file may fail for several reasons:
|
||||
the undo file cannot be used, it would corrupt the text. This also
|
||||
happens when 'encoding' differs from when the undo file was written.
|
||||
*E825* The undo file does not contain valid contents and cannot be used.
|
||||
*E826* The undo file is encrypted but decryption failed.
|
||||
*E827* The undo file is encrypted but this version of Vim does not support
|
||||
encryption. Open the file with another Vim.
|
||||
*E832* The undo file is encrypted but 'key' is not set, the text file is not
|
||||
encrypted. This would happen if the text file was written by Vim
|
||||
encrypted at first, and later overwritten by not encrypted text.
|
||||
You probably want to delete this undo file.
|
||||
"Not reading undo file, owner differs"
|
||||
The undo file is owned by someone else than the owner of the text
|
||||
file. For safety the undo file is not used.
|
||||
|
||||
Reference in New Issue
Block a user