Remove redundant casts

This commit is contained in:
Anton Ovchinnikov
2015-03-09 00:40:50 +01:00
parent c0a668aa26
commit 9925b3a047
26 changed files with 98 additions and 98 deletions

View File

@@ -545,7 +545,7 @@ edit (
mincol = curwin->w_wcol;
validate_cursor_col();
if ((int)curwin->w_wcol < mincol - curbuf->b_p_ts
if (curwin->w_wcol < mincol - curbuf->b_p_ts
&& curwin->w_wrow == curwin->w_winrow
+ curwin->w_height - 1 - p_so
&& (curwin->w_cursor.lnum != curwin->w_topline
@@ -4893,7 +4893,7 @@ insertchar (
return;
/* Check whether this character should end a comment. */
if (did_ai && (int)c == end_comment_pending) {
if (did_ai && c == end_comment_pending) {
char_u *line;
char_u lead_end[COM_MAX_LEN]; /* end-comment string */
int middle_len, end_len;