summaryrefslogtreecommitdiff
path: root/src/misc1.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-03-12 18:23:53 +0100
committerBram Moolenaar <Bram@vim.org>2017-03-12 18:23:53 +0100
commitb5aedf3e228d35821591da9ae8501b61cf2e264c (patch)
tree39cdf29566db1e5ed8b2235d2b0240c859163bd8 /src/misc1.c
parent8774845ce1a7def122ea07c057a79417f3be3d17 (diff)
downloadvim-git-b5aedf3e228d35821591da9ae8501b61cf2e264c.tar.gz
patch 8.0.0448: some macros are in lower casev8.0.0448
Problem: Some macros are in lower case, which can be confusing. Solution: Make a few lower case macros upper case.
Diffstat (limited to 'src/misc1.c')
-rw-r--r--src/misc1.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/misc1.c b/src/misc1.c
index c6b8d13b7..e862219ab 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -5272,7 +5272,8 @@ ind_find_start_CORS(void) /* XXX */
/* If comment_pos is before rs_pos the raw string is inside the comment.
* If rs_pos is before comment_pos the comment is inside the raw string. */
- if (comment_pos == NULL || (rs_pos != NULL && lt(*rs_pos, *comment_pos)))
+ if (comment_pos == NULL || (rs_pos != NULL
+ && LT_POS(*rs_pos, *comment_pos)))
return rs_pos;
return comment_pos;
}
@@ -7217,7 +7218,8 @@ get_c_indent(void)
comment_pos = &tryposCopy;
}
trypos = find_start_rawstring(curbuf->b_ind_maxcomment);
- if (trypos != NULL && (comment_pos == NULL || lt(*trypos, *comment_pos)))
+ if (trypos != NULL && (comment_pos == NULL
+ || LT_POS(*trypos, *comment_pos)))
{
amount = -1;
goto laterend;
@@ -9352,7 +9354,7 @@ get_lisp_indent(void)
{
paren = *pos;
pos = findmatch(NULL, '[');
- if (pos == NULL || ltp(pos, &paren))
+ if (pos == NULL || LT_POSP(pos, &paren))
pos = &paren;
}
if (pos != NULL)