--- np2/embed/menu/dlgabout.c 2003/11/21 06:51:10 1.1 +++ np2/embed/menu/dlgabout.c 2005/02/07 14:51:03 1.4 @@ -1,5 +1,6 @@ #include "compiler.h" #include "strres.h" +#include "np2ver.h" #include "pccore.h" #include "vramhdl.h" #include "menubase.h" @@ -37,10 +38,13 @@ static void dlginit(void) { char work[128]; - menudlg_appends(res_about, sizeof(res_about)/sizeof(MENUPRM)); + menudlg_appends(res_about, NELEMENTS(res_about)); milstr_ncpy(work, str_np2, sizeof(work)); milstr_ncat(work, str_space, sizeof(work)); milstr_ncat(work, np2version, sizeof(work)); +#if defined(_WIN32_WCE) && defined(NP2VER_WINCE) + milstr_ncat(work, NP2VER_WINCE, sizeof(work)); +#endif menudlg_settext(DID_VER, work); }