font.c: Fix regression introduced in a749a95
Index was increased by 2 instead of by 1 in each loop iteration Change-Id: I58d6957d46880f4207421b79c3ea6aa6660fbde4
This commit is contained in:
parent
102dc49ed9
commit
e5ecff3db7
1 changed files with 0 additions and 2 deletions
|
@ -350,8 +350,6 @@ static int find_font_index(const char* path)
|
||||||
logf("%s Found id: [%d], %s", __func__, index, path);
|
logf("%s Found id: [%d], %s", __func__, index, path);
|
||||||
return index;
|
return index;
|
||||||
}
|
}
|
||||||
|
|
||||||
index++;
|
|
||||||
}
|
}
|
||||||
logf("%s %s Not found using id: [%d], FONT_SYSFIXED",
|
logf("%s %s Not found using id: [%d], FONT_SYSFIXED",
|
||||||
__func__, path, FONT_SYSFIXED);
|
__func__, path, FONT_SYSFIXED);
|
||||||
|
|
Loading…
Reference in a new issue