[net.sources.bugs] One more bug in vc

hans-su@log-hb.UUCP (Hans Albertsson) (01/14/85)

revision 1.5        locked by: root;       
date: 85/01/07 23:35:42;  author: hans;  state: Exp;  lines added/del: 1/1
Expressions were erroneously updated after deleting a column, columnar 
references being incremented, rather than decremented.
=============================================================================

RCS file: sc.c,v
retrieving revision 1.4
diff -c -r1.4 sc.c
*** /tmp/,RCSt1001903	Mon Jan  7 23:48:09 1985
--- sc.c	Mon Jan  7 23:38:00 1985
***************
*** 619,625
  	p = &tbl[r][cs];
  	for (c=lim; --c>=0; p++)
  	    if (p[0] = p[1])
! 		p[0]->col++;
  	p[0] = 0;
      }
  

--- 619,625 -----
  	p = &tbl[r][cs];
  	for (c=lim; --c>=0; p++)
  	    if (p[0] = p[1])
! 		p[0]->col--;
  	p[0] = 0;
      }
  

-- 
			{decvax,philabs}!mcvax!enea!log-hb!hans
			Hans Albertsson, 
			TeleLOGIC AB
			Box 1001,
			S-14901 Nynashamn,
			SWEDEN