|
|
| version 1.15, 2004/03/22 05:38:47 | version 1.16, 2005/02/07 14:46:11 |
|---|---|
| Line 199 const SYSPCMD *cmdterm; | Line 199 const SYSPCMD *cmdterm; |
| np2sysp.substr[np2sysp.strpos] = (char)dat; | np2sysp.substr[np2sysp.strpos] = (char)dat; |
| cmd = np2spcmd; | cmd = np2spcmd; |
| cmdterm = cmd + (sizeof(np2spcmd) / sizeof(SYSPCMD)); | cmdterm = cmd + NELEMENTS(np2spcmd); |
| while(cmd < cmdterm) { | while(cmd < cmdterm) { |
| if (!np2syspcmp(cmd->key)) { | if (!np2syspcmp(cmd->key)) { |
| cmd->func(cmd->arg1, cmd->arg2); | cmd->func(cmd->arg1, cmd->arg2); |