Replaced most TRUE/FALSE macros in arabic, mbyte and spell. #645

This commit is contained in:
Klemen Košir
2014-04-29 10:52:10 +02:00
committed by Justin M. Keyes
parent ef34a0ab13
commit a568e8b644
24 changed files with 501 additions and 495 deletions

View File

@@ -1557,7 +1557,7 @@ syn_finish_line (
int
get_syntax_attr (
colnr_T col,
int *can_spell,
bool *can_spell,
int keep_state /* keep state of char at "col" */
)
{
@@ -1604,9 +1604,9 @@ get_syntax_attr (
*/
static int
syn_current_attr (
int syncing, /* When 1: called for syncing */
int displaying, /* result will be displayed */
int *can_spell, /* return: do spell checking */
int syncing, /* When 1: called for syncing */
int displaying, /* result will be displayed */
bool *can_spell, /* return: do spell checking */
int keep_state /* keep syntax stack afterwards */
)
{
@@ -2069,7 +2069,7 @@ syn_current_attr (
if (syn_block->b_nospell_cluster_id != 0) {
sps.id = syn_block->b_nospell_cluster_id;
if (in_id_list(sip, sip->si_cont_list, &sps, 0))
*can_spell = FALSE;
*can_spell = false;
}
}
}
@@ -5527,8 +5527,8 @@ syn_get_id (
win_T *wp,
long lnum,
colnr_T col,
int trans, /* remove transparency */
int *spellp, /* return: can do spell checking */
int trans, /* remove transparency */
bool *spellp, /* return: can do spell checking */
int keep_state /* keep state of char at "col" */
)
{