Received: from panix by ida.liu.se (5.65b/ida.minimaster-V1.0b6d5)
	id AA20613; Tue, 2 Aug 94 12:58:48 +0200
Received: by panix (5.65b/ida.slave-V1.0b3)
	id AA06759; Tue, 2 Aug 94 12:58:47 +0200
Message-Id: <9408021058.AA06759@panix>
From: Martin Sjolin <marsj>
To: Lincks User Mailing List <lincks-users@ida.liu.se>
Subject: Fix to EDIT MODE patch
Date: Tue, 2 Aug 94 12:58:47 +0200

Hi all,

Mats Gustafsson <x92matgu@ida.liu.se> just discovered
the first bug in the editmode patches which i sent
out earlier (can also be found in ftp.ida.liu.se:pub/lincks/alpha).

*If* are using the edit mode patches, apply the following by

a) cd lincks-2.x/interface/xlincks/libxl
b) patch < 'cut-out-file-below' or edit in the fix by hand.
c) cd ..
d) make
e) and reinstall xlincks.

msj
--- ltextdeletion.c.orig	Tue Aug  2 12:43:20 1994
+++ ltextdeletion.c	Tue Aug  2 12:44:48 1994
@@ -102,7 +102,7 @@
   }
 
   /* are we allow to changes this plural item ... */
-  if (!inp->allow_write) {
+  if (inp != (infonode *) NULL && !inp->allow_write) {
     XBell(XtDisplay((Widget)ctx), 50);
     (void)fprintf(stderr, W_NOTALLOWED);
     return;
--
Martin Sj\"olin | http://www.ida.liu.se/labs/iislab/people/marsj
Department of Computer Science, LiTH, S-581 83 Link\"oping, SWEDEN 
phone : +46 13 28 24 10 | fax : +46 13 28 26 66 | e-mail: marsj@ida.liu.se 
