[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.7 and 1.8

version 1.7, 2001/10/09 01:36:27 version 1.8, 2001/12/25 02:39:07
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.6 2001/08/22 09:19:21 noro Exp $   * $OpenXM: OpenXM_contrib2/asir2000/plot/if.c,v 1.7 2001/10/09 01:36:27 noro Exp $
 */  */
 #include "ca.h"  #include "ca.h"
 #include "parse.h"  #include "parse.h"
 #include "ox.h"  #include "ox.h"
 #include "ifplot.h"  #include "ifplot.h"
   
 extern jmp_buf ox_env;  extern JMP_BUF ox_env;
   
 int open_canvas(NODE arg)  int open_canvas(NODE arg)
 {  {
Line 542  void qifplotmain(struct canvas *can)
Line 542  void qifplotmain(struct canvas *can)
   
         width = can->width; height = can->height;          width = can->width; height = can->height;
         tabe = (char **)ALLOCA(width*sizeof(char *)+width*height*sizeof(char));          tabe = (char **)ALLOCA(width*sizeof(char *)+width*height*sizeof(char));
         bzero(tabe,width*sizeof(char *)+width*height*sizeof(char));          bzero((void *)tabe,width*sizeof(char *)+width*height*sizeof(char));
         for ( i = 0, tabeb = (char *)(tabe+width); i < width; i++ )          for ( i = 0, tabeb = (char *)(tabe+width); i < width; i++ )
                 tabe[i] = tabeb + height*i;                  tabe[i] = tabeb + height*i;
         define_cursor(can->window,runningcur);          define_cursor(can->window,runningcur);

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

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