mirror of https://github.com/tildeclub/ex-vi.git
* vi no longer dies with a segmentation fault if a line does not fit on the
screen after an insertion.
This commit is contained in:
parent
451eeb404b
commit
be3347f5be
4
Changes
4
Changes
|
@ -1,3 +1,7 @@
|
||||||
|
Release ...
|
||||||
|
* vi no longer dies with a segmentation fault if a line does not fit on the
|
||||||
|
screen after an insertion.
|
||||||
|
|
||||||
Release 2/25/05
|
Release 2/25/05
|
||||||
* Traditional regular expressions can now be used with multibyte characters.
|
* Traditional regular expressions can now be used with multibyte characters.
|
||||||
* When the 'ignorecase' option is toggled, saved regular expressions are now
|
* When the 'ignorecase' option is toggled, saved regular expressions are now
|
||||||
|
|
|
@ -73,7 +73,7 @@
|
||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
#ifdef DOSCCS
|
#ifdef DOSCCS
|
||||||
static char sccsid[] = "@(#)ex_vadj.c 1.10 (gritter) 11/23/04";
|
static char sccsid[] = "@(#)ex_vadj.c 1.11 (gritter) 3/4/05";
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -167,6 +167,8 @@ vreopen(int p, int lineno, int l)
|
||||||
register int d;
|
register int d;
|
||||||
register struct vlinfo *vp = &vlinfo[l];
|
register struct vlinfo *vp = &vlinfo[l];
|
||||||
|
|
||||||
|
if (p < 0)
|
||||||
|
error("Line too long to fit on screen");
|
||||||
d = vp->vdepth;
|
d = vp->vdepth;
|
||||||
if (d == 0 || (vp->vflags & VDIRT))
|
if (d == 0 || (vp->vflags & VDIRT))
|
||||||
vp->vdepth = d = vdepth();
|
vp->vdepth = d = vdepth();
|
||||||
|
|
|
@ -70,12 +70,12 @@
|
||||||
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
||||||
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* Sccsid @(#)ex_version.c 1.129 (gritter) 2/25/05
|
* Sccsid @(#)ex_version.c 1.130 (gritter) 3/4/05
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ex.h"
|
#include "ex.h"
|
||||||
|
|
||||||
static char *versionstring = "@(#)Version 4.0 (gritter) 2/25/05";
|
static char *versionstring = "@(#)Version 4.0 (gritter) 3/4/05";
|
||||||
|
|
||||||
void
|
void
|
||||||
printver(void)
|
printver(void)
|
||||||
|
|
Loading…
Reference in New Issue