From e5ecff3db776447417f501630c0af4f285277735 Mon Sep 17 00:00:00 2001 From: Christian Soffke Date: Sat, 8 Jul 2023 17:51:19 +0200 Subject: [PATCH] font.c: Fix regression introduced in a749a95 Index was increased by 2 instead of by 1 in each loop iteration Change-Id: I58d6957d46880f4207421b79c3ea6aa6660fbde4 --- firmware/font.c | 2 -- 1 file changed, 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);