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:
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user