projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Line discipline module now uses dynamically allocated data. Also
[u/mdw/putty]
/
unix
/
uxucs.c
diff --git
a/unix/uxucs.c
b/unix/uxucs.c
index
78d196f
..
ff8f3a1
100644
(file)
--- a/
unix/uxucs.c
+++ b/
unix/uxucs.c
@@
-14,12
+14,12
@@
* are ISO8859-1.
*/
* are ISO8859-1.
*/
-void lpage_send(int codepage, char *buf, int len, int interactive)
+void lpage_send(
void *ldisc,
int codepage, char *buf, int len, int interactive)
{
{
- ldisc_send(buf, len, interactive);
+ ldisc_send(
ldisc,
buf, len, interactive);
}
}
-void luni_send(wchar_t * widebuf, int len, int interactive)
+void luni_send(
void *ldisc,
wchar_t * widebuf, int len, int interactive)
{
static char *linebuffer = 0;
static int linesize = 0;
{
static char *linebuffer = 0;
static int linesize = 0;
@@
-79,7
+79,7
@@
void luni_send(wchar_t * widebuf, int len, int interactive)
}
}
if (p > linebuffer)
}
}
if (p > linebuffer)
- ldisc_send(linebuffer, p - linebuffer, interactive);
+ ldisc_send(l
disc, l
inebuffer, p - linebuffer, interactive);
}
int is_dbcs_leadbyte(int codepage, char byte)
}
int is_dbcs_leadbyte(int codepage, char byte)