mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 22:48:34 +00:00
Merge pull request #6740 from oni-link/fix.snprintf
if_cscope: Fix truncation of formated output
This commit is contained in:
@@ -1972,7 +1972,7 @@ static void cs_release_csp(size_t i, int freefnpp)
|
||||
static int cs_reset(exarg_T *eap)
|
||||
{
|
||||
char **dblist = NULL, **pplist = NULL, **fllist = NULL;
|
||||
char buf[20]; /* for snprintf " (#%zu)" */
|
||||
char buf[25]; // for snprintf " (#%zu)"
|
||||
|
||||
if (csinfo_size == 0)
|
||||
return CSCOPE_SUCCESS;
|
||||
|
Reference in New Issue
Block a user