1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

Update to 1.5.11

PR: 36212
Submitted by: Yen-Ming Lee <leeym@utopia.leeym.com>
This commit is contained in:
Kevin Lo 2002-03-23 10:19:58 +00:00
parent 1133aea38b
commit b442a7a41d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=56472
2 changed files with 5 additions and 14 deletions

View File

@ -1,5 +1,5 @@
--- src/charset.c.orig Mon Jan 29 18:32:23 2001
+++ src/charset.c Sat Apr 14 08:50:15 2001
--- src/charset.c.orig Tue Jan 29 22:31:11 2002
+++ src/charset.c Fri Mar 22 22:55:40 2002
@@ -335,7 +335,7 @@
for (c = (unsigned char *)buf; *c; c++) {
@ -9,12 +9,12 @@
*c = '?';
while (--t_len > 0)
c++;
@@ -364,7 +364,7 @@
@@ -363,7 +363,7 @@
for (c = (unsigned char *)buf; *c; c++) {
# ifdef ENABLE_MBLEN
#ifdef ENABLE_MBLEN
- if (!(my_isprint(*c) || *c == 8 || *c == 9 || *c == 10 || *c == 12 || *c == 13) && (t_len = mblen(c, MAX(2,MB_CUR_MAX))) <= 1)
+ if (!(my_isprint(*c) || *c == 8 || *c == 9 || *c == 10 || *c == 12 || *c == 13 || *c==27) && (t_len = mblen(c, MAX(2,MB_CUR_MAX))) <= 1)
+ if (!(my_isprint(*c) || *c == 8 || *c == 9 || *c == 10 || *c == 12 || *c == 13 || *c == 27) && (t_len = mblen(c, MAX(2,MB_CUR_MAX))) <= 1)
*c = '?';
while (--t_len > 0)
c++;

View File

@ -20,15 +20,6 @@
#endif /* !USE_CURSES */
MoveCursor (i + scroll_region_top, 0);
@@ -918,7 +918,7 @@
search_line = curr_line; /* Reset search to start from top of display */
- buff = my_malloc(cCOLS + 1); /* Need to account for \n */
+ buff = my_malloc(LEN + 1); /* Need to account for \n */
if (part == 0) {
ClearScreen();
@@ -1364,7 +1364,7 @@
chunk += 50;
pgart.rawl = my_realloc((char *) pgart.rawl, sizeof(t_lineinfo) * chunk);