=================================================================== RCS file: /home/cvs/OpenXM/src/kan96xx/plugin/oxmisc2.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -p -r1.4 -r1.5 --- OpenXM/src/kan96xx/plugin/oxmisc2.c 1999/11/27 01:41:11 1.4 +++ OpenXM/src/kan96xx/plugin/oxmisc2.c 2000/02/02 03:30:48 1.5 @@ -1,4 +1,4 @@ -/* $OpenXM: OpenXM/src/kan96xx/plugin/oxmisc2.c,v 1.3 1999/11/18 00:54:17 takayama Exp $ */ +/* $OpenXM: OpenXM/src/kan96xx/plugin/oxmisc2.c,v 1.4 1999/11/27 01:41:11 takayama Exp $ */ #include #include "ox_kan.h" #include "oxmisc2.h" /* This file requires sm1 object description. */ @@ -677,7 +677,9 @@ static int cmoCheck00(struct object obj,int cmo[], int #define CHECK00_N 4098 /* look up stackm.h and kclass.h */ static int typeTrans[CHECK00_N]; static int init = 0; - if (n == 0) return(1); /* For null cmolist, OK. */ + /* if n == 0, report the cmo tag of the object obj. + If it cannot be translated to cmo, then return -1. */ + if (!init) { for (i=0; i