avoid running over into position 10
This commit is contained in:
parent
55ebd7325a
commit
d0af20b4de
@ -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++;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user