--- np2/macosx/ini.cpp 2003/11/13 15:52:04 1.7 +++ np2/macosx/ini.cpp 2003/12/02 11:09:07 1.10 @@ -106,7 +106,7 @@ const INITBL *p; break; case INITYPE_ARGS16: - milstr_ncpy(work, data, 512); + milstr_ncpy(work, data, sizeof(work)); inirdargs16(work, p); break; @@ -334,6 +334,11 @@ static const char inifile[] = "np2.cfg"; static const INITBL iniitem[] = { {"np2title", INITYPE_STR, np2oscfg.titles, sizeof(np2oscfg.titles)}, + {"WindposX", INITYPE_SINT32, &np2oscfg.winx, 0}, + {"WindposY", INITYPE_SINT32, &np2oscfg.winy, 0}, + + {"pc_model", INITYPE_STR, &np2cfg.model, + sizeof(np2cfg.model)}, {"clk_base", INITYPE_SINT32, &np2cfg.baseclock, 0}, {"clk_mult", INITYPE_SINT32, &np2cfg.multiple, 0},