--- np2/win9x/commng.cpp 2003/12/24 16:11:40 1.3 +++ np2/win9x/commng.cpp 2005/02/07 14:46:14 1.5 @@ -6,21 +6,21 @@ // ---- non connect -static UINT ncread(COMMNG self, BYTE *data) { +static UINT ncread(COMMNG self, UINT8 *data) { (void)self; (void)data; return(0); } -static UINT ncwrite(COMMNG self, BYTE data) { +static UINT ncwrite(COMMNG self, UINT8 data) { (void)self; (void)data; return(0); } -static BYTE ncgetstat(COMMNG self) { +static UINT8 ncgetstat(COMMNG self) { (void)self; return(0xf0); @@ -69,15 +69,10 @@ COMMNG commng_create(UINT device) { break; case COMCREATE_PRINTER: -#if 1 // test - ret = cmjasts_create(); - if (ret) { - return(ret); - } - return((COMMNG)&com_nc); -#else cfg = NULL; -#endif + if (np2oscfg.jastsnd) { + ret = cmjasts_create(); + } break; case COMCREATE_MPU98II: