[BACK]Return to if.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000 / plot

Diff for /OpenXM_contrib2/asir2000/plot/if.c between version 1.10 and 1.11

version 1.10, 2002/07/29 03:08:16 version 1.11, 2002/08/02 02:57:48
Line 45 
Line 45 
  * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,   * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,
  * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.   * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.
  *   *
  * $OpenXM: OpenXM_contrib2/asir2000/plot/if.c,v 1.9 2002/07/10 05:29:35 noro Exp $   * $OpenXM: OpenXM_contrib2/asir2000/plot/if.c,v 1.10 2002/07/29 03:08:16 noro Exp $
 */  */
 #include "ca.h"  #include "ca.h"
 #include "parse.h"  #include "parse.h"
Line 320  int draw_string(NODE arg)
Line 320  int draw_string(NODE arg)
   
         index = QTOS((Q)ARG0(arg));          index = QTOS((Q)ARG0(arg));
         can = canvas[index];          can = canvas[index];
         if ( !can || !can->window ) {          if ( !can && closed_canvas[index] ) {
                 set_lasterror("draw_string : canvas does not exist");                  canvas[index] = closed_canvas[index];
                   closed_canvas[index] = 0;
                   can = canvas[index];
                   popup_canvas(index);
                   current_can = can;
           } else if ( !can || (can && !can->window) ) {
                   set_lasterror("draw_obj : canvas does not exist");
                 return -1;                  return -1;
         }          }
   

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>