Diff for /np2/embed/menubase/menudlg.c between versions 1.3 and 1.4

version 1.3, 2003/12/19 15:53:52 version 1.4, 2003/12/23 18:31:43
Line 123  static DLGPRM resappend(MENUDLG dlg, con Line 123  static DLGPRM resappend(MENUDLG dlg, con
                 prm->icon = NULL;                  prm->icon = NULL;
                 prm->str[0] = '\0';                  prm->str[0] = '\0';
                 if (str) {                  if (str) {
                         milstr_ncpy(prm->str, str, sizeof(prm->str));                          milsjis_ncpy(prm->str, str, sizeof(prm->str));
                 }                  }
         }          }
         return(prm);          return(prm);
Line 733  static BOOL dlglist_setex(MENUDLG dlg, D Line 733  static BOOL dlglist_setex(MENUDLG dlg, D
         }          }
         resattachicon(dlg, dp, arg->icon, hdl->c.dl.fontsize,          resattachicon(dlg, dp, arg->icon, hdl->c.dl.fontsize,
                                                                                         hdl->c.dl.fontsize);                                                                                          hdl->c.dl.fontsize);
         milstr_ncpy(dp->str, arg->str, sizeof(dp->str));          milsjis_ncpy(dp->str, arg->str, sizeof(dp->str));
         return(dlglist_drawsub(hdl, arg->pos, (arg->pos == hdl->val)));          return(dlglist_drawsub(hdl, arg->pos, (arg->pos == hdl->val)));
 }  }
   
Line 1562  const void *str; Line 1562  const void *str;
                 if (str == NULL) {                  if (str == NULL) {
                         str = str_null;                          str = str_null;
                 }                  }
                 milstr_ncpy(hdl->prm->str, str, sizeof(hdl->prm->str));                  milsjis_ncpy(hdl->prm->str, str, sizeof(hdl->prm->str));
                 fontmng_getsize(hdl->c.dt.font, str, &hdl->c.dt.pt);                  fontmng_getsize(hdl->c.dt.font, str, &hdl->c.dt.pt);
         }          }
         (void)dlg;          (void)dlg;

Removed from v.1.3  
changed lines
  Added in v.1.4


RetroPC.NET-CVS <cvs@retropc.net>