Mercurial > vim
comparison src/json.c @ 10299:7b2f95633e28 v8.0.0046
commit https://github.com/vim/vim/commit/7756e7465d627ff9cd01e59625484a8c302ef853
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Oct 21 20:35:37 2016 +0200
patch 8.0.0046
Problem: Using NUL instead of NULL.
Solution: Change to NULL. (Dominique Pelle)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 21 Oct 2016 22:45:04 +0200 |
parents | 4aead6a9b7a9 |
children | 299f1669c20e |
comparison
equal
deleted
inserted
replaced
10298:2bd1bb7d9e5a | 10299:7b2f95633e28 |
---|---|
859 || STRNICMP((char *)p, "null", len) == 0))) | 859 || STRNICMP((char *)p, "null", len) == 0))) |
860 return MAYBE; | 860 return MAYBE; |
861 break; | 861 break; |
862 } | 862 } |
863 | 863 |
864 if (res != NUL) | 864 if (res != NULL) |
865 { | 865 { |
866 res->v_type = VAR_SPECIAL; | 866 res->v_type = VAR_SPECIAL; |
867 res->vval.v_number = VVAL_NONE; | 867 res->vval.v_number = VVAL_NONE; |
868 } | 868 } |
869 return FAIL; | 869 return FAIL; |