--- np2/embed/menu/dlgcfg.c 2004/07/12 10:33:02 1.5 +++ np2/embed/menu/dlgcfg.c 2005/02/07 14:46:09 1.6 @@ -191,7 +191,7 @@ static void dlginit(void) { MENUID id; - menudlg_appends(res_cfg, sizeof(res_cfg)/sizeof(MENUPRM)); + menudlg_appends(res_cfg, NELEMETS(res_cfg)); if (np2cfg.baseclock < ((PCBASECLOCK25 + PCBASECLOCK20) / 2)) { id = DID_CLOCK1; }