anoter fix for the 'ic' case

This commit is contained in:
Gunnar Ritter 2005-02-04 18:52:28 +00:00
parent 60c17fcee5
commit 6cba8d4b6c
3 changed files with 7 additions and 6 deletions

View File

@ -9,8 +9,9 @@ Release ...
* Made it work for Big5 locales (Patches by Matthew Fischer). * Made it work for Big5 locales (Patches by Matthew Fischer).
* Fixed a problem with the 'r' command in EUC-JP and Big5 locales (Bugreport * Fixed a problem with the 'r' command in EUC-JP and Big5 locales (Bugreport
by Matthew Fischer). by Matthew Fischer).
* The insertion of multicolumn characters now works with terminals that have * The insertion of multicolumn characters and tab characters in multibyte
the 'ic' but no 'im' termcap capability (Bugreport by Matthew Fischer). locales now works with terminals that have the 'ic' but no 'im' termcap
capability (Bugreport by Matthew Fischer).
Release 1/19/05 Release 1/19/05
* The last release erroneously made 'X' work like 'x' in visual mode. It now * The last release erroneously made 'X' work like 'x' in visual mode. It now

View File

@ -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.121 (gritter) 2/3/05 * Sccsid @(#)ex_version.c 1.122 (gritter) 2/4/05
*/ */
#include "ex.h" #include "ex.h"
static char *versionstring = "@(#)Version 4.0 (gritter) 2/3/05"; static char *versionstring = "@(#)Version 4.0 (gritter) 2/4/05";
void void
printver(void) printver(void)

View File

@ -73,7 +73,7 @@
#ifndef lint #ifndef lint
#ifdef DOSCCS #ifdef DOSCCS
static char sccsid[] = "@(#)ex_vput.c 1.46 (gritter) 2/3/05"; static char sccsid[] = "@(#)ex_vput.c 1.47 (gritter) 2/4/05";
#endif #endif
#endif #endif
@ -1396,7 +1396,7 @@ def:
if (insmode && (!IM || !*IM)) if (insmode && (!IM || !*IM))
#endif /* !notdef */ #endif /* !notdef */
{ {
n = colsc(c); n = colsc(c&TRIM);
for (m = 0; m < n; m++) for (m = 0; m < n; m++)
vputp(IC, DEPTH(vcline)); vputp(IC, DEPTH(vcline));
} }