From 8f0e76fc504af98e7bb223921160850f093f6e1e Mon Sep 17 00:00:00 2001 From: LBEaston Date: Mon, 1 Dec 2014 03:05:05 +1100 Subject: Fix SegFault when getting full path for files --- src/nvim/strings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/nvim/strings.c b/src/nvim/strings.c index d862b0b4dc..20008bca16 100644 --- a/src/nvim/strings.c +++ b/src/nvim/strings.c @@ -479,7 +479,7 @@ char_u *vim_strbyte(const char_u *string, int c) * Does not handle multi-byte char for "c"! */ char_u *vim_strrchr(const char_u *string, int c) - FUNC_ATTR_NONNULL_RET FUNC_ATTR_NONNULL_ALL FUNC_ATTR_PURE + FUNC_ATTR_NONNULL_ALL FUNC_ATTR_PURE { const char_u *retval = NULL; const char_u *p = string; -- cgit