Local aliasing fixes

master
Allen Webster 2017-11-27 10:44:36 -05:00
parent 9b4c2a7c1a
commit e8e314efb2
2 changed files with 3 additions and 3 deletions

View File

@ -517,8 +517,8 @@ read_config_line(Cpp_Token_Array array, int32_t *i_ptr, char *text){
}
for (; i < array.count; ++i){
Cpp_Token token = read_config_token(array, &i);
if (token.type == CPP_TOKEN_SEMICOLON){
Cpp_Token skip_token = read_config_token(array, &i);
if (skip_token.type == CPP_TOKEN_SEMICOLON){
break;
}
}

View File

@ -3601,7 +3601,7 @@ release_font(System_Functions *system, Models *models, Face_ID font_id, Face_ID
if (!font.valid){
Face_ID largest_id = system->font.get_largest_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){
break;
}