Move over a few more objects to the new array_list functions

darcs-hash:20060731165511-ac50b-7858829e6a612e0c737d82d3d71d6833dc97f078.gz
This commit is contained in:
axel
2006-08-01 02:55:11 +10:00
parent bd0c1573df
commit d1bbb89389
4 changed files with 19 additions and 21 deletions

View File

@@ -960,7 +960,7 @@ static void highlight_universal_internal( wchar_t * buff,
if( level == 0 )
{
level++;
al_push( &l, (void *)(str-buff) );
al_push_long( &l, (long)(str-buff) );
prev_q = *str;
}
else
@@ -970,7 +970,7 @@ static void highlight_universal_internal( wchar_t * buff,
long pos1, pos2;
level--;
pos1 = (long)al_pop( &l );
pos1 = al_pop_long( &l );
pos2 = str-buff;
if( pos1==pos || pos2==pos )
{
@@ -984,7 +984,7 @@ static void highlight_universal_internal( wchar_t * buff,
else
{
level++;
al_push( &l, (void *)(str-buff) );
al_push_long( &l, (long)(str-buff) );
prev_q = *str;
}
}