diff options
author | Christian Soffke <christian.soffke@gmail.com> | 2023-07-08 17:51:19 +0200 |
---|---|---|
committer | Christian Soffke <christian.soffke@gmail.com> | 2023-07-08 17:51:19 +0200 |
commit | e5ecff3db776447417f501630c0af4f285277735 (patch) | |
tree | f40801aa86448e40a055649fbfdee1ff6df797d6 | |
parent | 102dc49ed9d1e81fe3920ea32260bf1bfa799fc0 (diff) | |
download | rockbox-e5ecff3db7.tar.gz rockbox-e5ecff3db7.zip |
font.c: Fix regression introduced in a749a95
Index was increased by 2 instead of by 1
in each loop iteration
Change-Id: I58d6957d46880f4207421b79c3ea6aa6660fbde4
-rw-r--r-- | firmware/font.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/firmware/font.c b/firmware/font.c index 01f187df45..1644201f67 100644 --- a/firmware/font.c +++ b/firmware/font.c @@ -350,8 +350,6 @@ static int find_font_index(const char* path) logf("%s Found id: [%d], %s", __func__, index, path); return index; } - - index++; } logf("%s %s Not found using id: [%d], FONT_SYSFIXED", __func__, path, FONT_SYSFIXED); |