Amiga: more review fixes

- NHW_BASE / NHW_OVER collided with NHW_PERMINVENT=6; renumber off NHW_LAST_TYPE.
- GlyphToIcon used > 10000 instead of >=.
- make_menu_items sized array by sizeof(amii_menu_item) instead of menu_item.
- DoMenuScroll could deref NULL amip on SELECTUP.
- get_nhuuid uses ISAAC64 rn2() instead of hand-rolled LCG.
- fopenp's bound check fired one byte too late.
- winami.p had stale signatures for amii_end_menu, amii_select_menu, amii_suspend_nhwindows.
This commit is contained in:
Ingo Paschke
2026-05-11 20:29:47 +02:00
parent f8ea34489f
commit 22ddba7c1e
6 changed files with 19 additions and 25 deletions
+1 -1
View File
@@ -805,7 +805,7 @@ GlyphToIcon(int glyph)
glyph_info gi;
map_glyphinfo(0, 0, glyph, 0, &gi);
if (glyph > 10000)
if (glyph >= 10000)
return glyph;
return (gi.gm.tileidx);
}