razor.c
changeset 183 8f4402ee125d
parent 177 a23f91e78747
child 186 7f45d0401e37
     1.1 --- a/razor.c	Mon Mar 17 19:28:42 2008 -0400
     1.2 +++ b/razor.c	Thu Mar 20 14:36:50 2008 -0400
     1.3 @@ -2209,7 +2209,8 @@
     1.4  	} else {
     1.5  		while (prop >= props && prop->type != match_type)
     1.6  			prop--;
     1.7 -		while (prop > props + 1 && (prop - 1)->type == match_type)
     1.8 +		while (prop > props + 1 && (prop - 1)->name == prop->name &&
     1.9 +		       (prop - 1)->type == match_type)
    1.10  			prop--;
    1.11  	}
    1.12