diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2014-12-01 07:35:44 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-12-01 07:35:44 -0500 |
commit | 212cb13ca4526350ce761378505536fafb559eab (patch) | |
tree | 1bbc74b6f78e21fbfa0a79c15f2bc775fdc074f7 /src | |
parent | 3ef8e4f33ea81c81b9d6a3f093765d5e161238b0 (diff) | |
parent | 8f0e76fc504af98e7bb223921160850f093f6e1e (diff) | |
download | rneovim-212cb13ca4526350ce761378505536fafb559eab.tar.gz rneovim-212cb13ca4526350ce761378505536fafb559eab.tar.bz2 rneovim-212cb13ca4526350ce761378505536fafb559eab.zip |
Merge pull request #1582 from LBEaston/FixSegFault
Fix SegFault when entering Command(q:) or Search(q/) History
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/strings.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |