diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2014-05-22 12:50:59 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-05-22 13:00:51 -0400 |
commit | e2e47803bdfd5fb40e3dbc9cdf798bb27d306c72 (patch) | |
tree | 6ff1b06b5d5fd6d3260f3a778c33cfaf03f0c295 /src/nvim/ex_getln.h | |
parent | 0aa8b5828cc0674894681841f40c3c05bfd2f07b (diff) | |
parent | e303a11ebfc352860cce73184ece692ab4d0f01c (diff) | |
download | rneovim-e2e47803bdfd5fb40e3dbc9cdf798bb27d306c72.tar.gz rneovim-e2e47803bdfd5fb40e3dbc9cdf798bb27d306c72.tar.bz2 rneovim-e2e47803bdfd5fb40e3dbc9cdf798bb27d306c72.zip |
Merge #708 'Remove NULL/non-NULL tests after vim_str(n)save'
- replace alloc with xmalloc
Diffstat (limited to 'src/nvim/ex_getln.h')
-rw-r--r-- | src/nvim/ex_getln.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_getln.h b/src/nvim/ex_getln.h index 61a0fcaeb3..d2ebb7a82f 100644 --- a/src/nvim/ex_getln.h +++ b/src/nvim/ex_getln.h @@ -14,7 +14,7 @@ char_u *getexmodeline(int promptc, void *cookie, int indent); void free_cmdline_buf(void); void putcmdline(int c, int shift); void unputcmdline(void); -int put_on_cmdline(char_u *str, int len, int redraw); +void put_on_cmdline(char_u *str, int len, int redraw); char_u *save_cmdline_alloc(void); void restore_cmdline_alloc(char_u *p); void cmdline_paste_str(char_u *s, int literally); |