|
|
| version 1.1, 2003/11/21 06:51:10 | version 1.2, 2003/12/23 18:31:43 |
|---|---|
| Line 102 static MENUHDL append1(MENUSYS *sys, con | Line 102 static MENUHDL append1(MENUSYS *sys, con |
| hdl.id = item->id; | hdl.id = item->id; |
| hdl.flag = item->flag & (~MENU_DELETED); | hdl.flag = item->flag & (~MENU_DELETED); |
| if (item->string) { | if (item->string) { |
| milstr_ncpy(hdl.string, item->string, sizeof(hdl.string)); | milsjis_ncpy(hdl.string, item->string, sizeof(hdl.string)); |
| } | } |
| ret = (MENUHDL)listarray_enum(sys->res, seaempty, NULL); | ret = (MENUHDL)listarray_enum(sys->res, seaempty, NULL); |
| if (ret) { | if (ret) { |
| Line 687 BOOL menusys_create(const MSYSITEM *item | Line 687 BOOL menusys_create(const MSYSITEM *item |
| } | } |
| ret->cmd = cmd; | ret->cmd = cmd; |
| if (title) { | if (title) { |
| milstr_ncpy(ret->title, title, sizeof(ret->title)); | milsjis_ncpy(ret->title, title, sizeof(ret->title)); |
| } | } |
| r = listarray_new(sizeof(_MENUHDL), 32); | r = listarray_new(sizeof(_MENUHDL), 32); |
| if (r == NULL) { | if (r == NULL) { |
| Line 1051 static void menusys_settxt(MENUID id, vo | Line 1051 static void menusys_settxt(MENUID id, vo |
| } | } |
| if (arg) { | if (arg) { |
| milstr_ncpy(itm->string, (char *)arg, sizeof(itm->string)); | milsjis_ncpy(itm->string, (char *)arg, sizeof(itm->string)); |
| } | } |
| else { | else { |
| itm->string[0] = '\0'; | itm->string[0] = '\0'; |