mirror of
https://github.com/neovim/neovim.git
synced 2025-10-02 07:58:35 +00:00
Fix SegFault when getting full path for files
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user