projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Port forwarding update: local-host-only listening sockets are now
[u/mdw/putty]
/
ldisc.c
diff --git
a/ldisc.c
b/ldisc.c
index
48fbe17
..
e1b5a38
100644
(file)
--- a/
ldisc.c
+++ b/
ldisc.c
@@
-28,7
+28,7
@@
static int term_buflen = 0, term_bufsiz = 0, term_quotenext = 0;
static int plen(unsigned char c)
{
static int plen(unsigned char c)
{
- if ((c >= 32 && c <= 126) || (c >= 160 && !utf))
+ if ((c >= 32 && c <= 126) || (c >= 160 && !
in_
utf))
return 1;
else if (c < 128)
return 2; /* ^x for some x */
return 1;
else if (c < 128)
return 2; /* ^x for some x */
@@
-38,7
+38,7
@@
static int plen(unsigned char c)
static void pwrite(unsigned char c)
{
static void pwrite(unsigned char c)
{
- if ((c >= 32 && c <= 126) || (c >= 160 && !utf)) {
+ if ((c >= 32 && c <= 126) || (c >= 160 && !
in_
utf)) {
c_write(&c, 1);
} else if (c < 128) {
char cc[2];
c_write(&c, 1);
} else if (c < 128) {
char cc[2];