avoid running over into position 10

This commit is contained in:
joeycastillo 2024-10-06 11:28:28 -04:00
parent 55ebd7325a
commit d0af20b4de

View File

@ -249,6 +249,7 @@ void watch_display_text_with_fallback(watch_position_t location, const char *str
i++;
}
while (string[i] != 0) {
if (4 + i - offset == 10) break;
watch_display_character(string[i], 4 + i - offset);
i++;
}