comparison src/ex_docmd.c @ 2215:cccb71c2c5c1 vim73

Fix uninit memory read in undo code. Fix uint32_t in proto file. A few minor changes.
author Bram Moolenaar <bram@vim.org>
date Mon, 24 May 2010 11:59:29 +0200
parents f8222d1f9a73
children 3d0a7beb0d75
comparison
equal deleted inserted replaced
2214:f8222d1f9a73 2215:cccb71c2c5c1
845 * a bogus compiler warning when the optimizer uses inline functions... 845 * a bogus compiler warning when the optimizer uses inline functions...
846 */ 846 */
847 if (flags & DOCMD_EXCRESET) 847 if (flags & DOCMD_EXCRESET)
848 save_dbg_stuff(&debug_saved); 848 save_dbg_stuff(&debug_saved);
849 else 849 else
850 memset(&debug_saved, 0, 1); 850 vim_memset(&debug_saved, 0, 1);
851 851
852 initial_trylevel = trylevel; 852 initial_trylevel = trylevel;
853 853
854 /* 854 /*
855 * "did_throw" will be set to TRUE when an exception is being thrown. 855 * "did_throw" will be set to TRUE when an exception is being thrown.