|
|
| version 1.23, 2004/02/11 17:39:59 | version 1.24, 2004/02/13 08:33:48 |
|---|---|
| Line 230 const INITBL *pterm; | Line 230 const INITBL *pterm; |
| case INITYPE_USERKEY: | case INITYPE_USERKEY: |
| GetPrivateProfileString(title, p->item, str_null, | GetPrivateProfileString(title, p->item, str_null, |
| work, sizeof(work), path); | work, sizeof(work), path); |
| ((UINT8 *)p->value)[0] = (UINT8)profile_setkeys(work, | ((NKEYM)p->value)->keys = (UINT8)profile_setkeys(work, |
| ((UINT8 *)p->value) + 1, 15); | ((NKEYM)p->value)->key, 15); |
| break; | break; |
| case INITYPE_KB: | case INITYPE_KB: |
| Line 309 const char *set; | Line 309 const char *set; |
| case INITYPE_USERKEY: | case INITYPE_USERKEY: |
| profile_getkeys(work, sizeof(work), | profile_getkeys(work, sizeof(work), |
| ((UINT8 *)p->value) + 1, ((UINT8 *)p->value)[0]); | ((NKEYM)p->value)->key, ((NKEYM)p->value)->keys); |
| break; | break; |
| default: | default: |
| Line 432 static const INITBL iniitem[] = { | Line 432 static const INITBL iniitem[] = { |
| {"calendar", INITYPE_BOOL, &np2cfg.calendar, 0}, | {"calendar", INITYPE_BOOL, &np2cfg.calendar, 0}, |
| {"USE144FD", INITYPE_BOOL, &np2cfg.usefd144, 0}, | {"USE144FD", INITYPE_BOOL, &np2cfg.usefd144, 0}, |
| {"userkey1", INITYPE_USERKEY, np2cfg.userkey[0], 16}, | {"userkey1", INITYPE_USERKEY, np2cfg.userkey+0, 0}, |
| {"userkey2", INITYPE_USERKEY, np2cfg.userkey[1], 16}, | {"userkey2", INITYPE_USERKEY, np2cfg.userkey+1, 0}, |
| // OS°Í¸¡© | // OS°Í¸¡© |