Mercurial > vim
comparison src/option.c @ 2271:2b33a7678e7b vim73
Fix compiler warnings for shadowed variables. Make 'conceal' a long instead
of int.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 22 Jun 2010 06:28:58 +0200 |
parents | fb627e94e6c6 |
children | e4d849f4df03 |
comparison
equal
deleted
inserted
replaced
2270:917fff7bc09d | 2271:2b33a7678e7b |
---|---|
8131 } | 8131 } |
8132 if (p_uc && !old_value) | 8132 if (p_uc && !old_value) |
8133 ml_open_files(); | 8133 ml_open_files(); |
8134 } | 8134 } |
8135 #ifdef FEAT_CONCEAL | 8135 #ifdef FEAT_CONCEAL |
8136 else if (pp == (long *)&curwin->w_p_conceal) | 8136 else if (pp == &curwin->w_p_conceal) |
8137 { | 8137 { |
8138 if (curwin->w_p_conceal < 0) | 8138 if (curwin->w_p_conceal < 0) |
8139 { | 8139 { |
8140 errmsg = e_positive; | 8140 errmsg = e_positive; |
8141 curwin->w_p_conceal = 0; | 8141 curwin->w_p_conceal = 0; |