fix(l2): no remount while the card is a USB drive, vector packs locked across cores, time zone list, noise sweep restore

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Jakub
2026-10-12 19:30:46 +02:00
co-authored by Claude Opus 5.5
parent 57db27512d
commit 2b9e013071
10 changed files with 81 additions and 22 deletions
+4
View File
@@ -441,6 +441,10 @@ public:
int ellipsis_width = getTextWidth(ellipsis);
int str_len = strlen(temp_str);
// Room for the ellipsis whatever the trim below leaves (a near-full
// buffer of narrow glyphs on a wide panel could keep all but one byte).
const int room = (int)sizeof(temp_str) - 1 - (int)strlen(ellipsis);
if (str_len > room) temp_str[str_len = room] = 0;
while (str_len > 0 && getTextWidth(temp_str) > max_width - ellipsis_width) {
temp_str[--str_len] = 0;