=================================================================== RCS file: /home/cvs/OpenXM_contrib2/windows/engine2000/plot.c,v retrieving revision 1.5 retrieving revision 1.7 diff -u -p -r1.5 -r1.7 --- OpenXM_contrib2/windows/engine2000/plot.c 2002/08/02 02:48:22 1.5 +++ OpenXM_contrib2/windows/engine2000/plot.c 2006/02/08 05:31:37 1.7 @@ -45,7 +45,7 @@ * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. * - * $OpenXM: OpenXM_contrib2/windows/engine2000/plot.c,v 1.4 2002/07/10 06:08:26 noro Exp $ + * $OpenXM: OpenXM_contrib2/windows/engine2000/plot.c,v 1.6 2002/08/02 09:30:23 noro Exp $ */ #include "ca.h" #include "parse.h" @@ -235,7 +235,7 @@ static void process_ox(int id, Obj obj, unsigned int s static void process_resize(struct canvas *can,POINT startp,POINT endp) { - if ( can->mode == MODE_INTERACTIVE ) + if ( can->mode == MODE_INTERACTIVE || can->mode == MODE_POLARPLOT ) return; if ( can->mode == MODE_PLOT ) @@ -283,7 +283,8 @@ static void asir_do_cmd(unsigned int cmd,unsigned int asir_executeFunction(); break; case SM_shutdown: - asir_terminate(2); + asir_infile = 0; + asir_terminate(3); break; case SM_pops: asir_pops();