sc 'x' command should set modflg

Robert Bond rgb at nscpdc.NSC.COM
Sun Mar 27 09:17:15 AEST 1988


>From article <818 at cresswell.quintus.UUCP>, by ok at quintus.UUCP (Richard A. O'Keefe):
> The 'x' command in SC wipes out the current cell, but SC doesn't notice
> that the spreadsheet has changed, so if you exit with the 'q' command
> it will not offer to save the changed file.  I found this out the hard way.

Richard is right.  The fix is to add a line like

	modflg++;

in the case statement for 'x'.  It's about line 1064 in version 5.2 of
sc.c.  I'll publish a patch after I accumulate a few more bugs.

					Bob
-- 
    Robert Bond 			ihnp4!nsc!nscpdc!rgb
    National Semiconductor		tektronix!nscpdc!rgb



More information about the Comp.sources.bugs mailing list