What changed, and why it matters
This commit only fixes garbled comments in the source code. The actual code logic—mapping Latin-1 byte values to other byte values for display—remains completely unchanged. It is a cosmetic/documentation cleanup with no security relevance.
No security action required. Treat as a normal code-quality/cosmetic change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff updates C-style comments in src/ui/ugui/ugui.c so that Latin-1 characters (ö, Ö, ü, Ü, ä, Ä, µ, °) are rendered correctly as UTF-8 in the source file. No executable statements, constants, control flow, or data structures were modified. The byte remapping table is identical before and after the patch.
Changed components
src/ui/ugui/ugui.c (comments only)Inspect captured patch +8 / −8
diff --git a/src/ui/ugui/ugui.c b/src/ui/ugui/ugui.c
index 050d101..eb8ef07 100644
--- a/src/ui/ugui/ugui.c
+++ b/src/ui/ugui/ugui.c
@@ -82,28 +82,28 @@ static void _UG_PutChar( char chr, UG_S16 x, UG_S16 y, UG_COLOR fc, UG_COLOR bc,
switch (bt ) {
case 0xF6:
bt = 0x94;
- break; // �
+ break; // ö
case 0xD6:
bt = 0x99;
- break; // �
+ break; // Ö
case 0xFC:
bt = 0x81;
- break; // �
+ break; // ü
case 0xDC:
bt = 0x9A;
- break; // �
+ break; // Ü
case 0xE4:
bt = 0x84;
- break; // �
+ break; // ä
case 0xC4:
bt = 0x8E;
- break; // �
+ break; // Ä
case 0xB5:
bt = 0xE6;
- break; // �
+ break; // µ
case 0xB0:
bt = 0xF8;
- break; // �
+ break; // °
default:
break;
}
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.