Local aliasing fixes
parent
9b4c2a7c1a
commit
e8e314efb2
|
@ -517,8 +517,8 @@ read_config_line(Cpp_Token_Array array, int32_t *i_ptr, char *text){
|
||||||
}
|
}
|
||||||
|
|
||||||
for (; i < array.count; ++i){
|
for (; i < array.count; ++i){
|
||||||
Cpp_Token token = read_config_token(array, &i);
|
Cpp_Token skip_token = read_config_token(array, &i);
|
||||||
if (token.type == CPP_TOKEN_SEMICOLON){
|
if (skip_token.type == CPP_TOKEN_SEMICOLON){
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -3601,7 +3601,7 @@ release_font(System_Functions *system, Models *models, Face_ID font_id, Face_ID
|
||||||
if (!font.valid){
|
if (!font.valid){
|
||||||
Face_ID largest_id = system->font.get_largest_id();
|
Face_ID largest_id = system->font.get_largest_id();
|
||||||
for (replacement_id = 1; replacement_id <= largest_id && replacement_id > 0; ++replacement_id){
|
for (replacement_id = 1; replacement_id <= largest_id && replacement_id > 0; ++replacement_id){
|
||||||
Font_Pointers font = system->font.get_pointers_by_id(replacement_id);
|
font = system->font.get_pointers_by_id(replacement_id);
|
||||||
if (font.valid){
|
if (font.valid){
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue