1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-06-30 19:12:48 -05:00

Put prototypes for the functions exported by wcwidth.c in putty.h, and remove

one from terminal.c.  Have wcwidth.c include putty.h to get its prototypes.

[originally from svn r2377]
This commit is contained in:
Ben Harris
2002-12-29 15:08:27 +00:00
parent 4345935c22
commit 873b95deff
3 changed files with 8 additions and 1 deletions

View File

@ -1542,7 +1542,6 @@ void term_out(Terminal *term)
term->logctx)
logtraffic(term->logctx, (unsigned char) c, LGTYP_ASCII);
{
extern int wcwidth(wchar_t ucs);
int width = 0;
if (DIRECT_CHAR(c))
width = 1;