summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
9547a2a)
one from terminal.c. Have wcwidth.c include putty.h to get its prototypes.
git-svn-id: svn://svn.tartarus.org/sgt/putty@2377
cda61777-01e9-0310-a592-
d414129be87e
void get_unitab(int codepage, wchar_t * unitab, int ftype);
/*
void get_unitab(int codepage, wchar_t * unitab, int ftype);
/*
+ * Exports from wcwidth.c
+ */
+int wcwidth(wchar_t ucs);
+int wcswidth(const wchar_t *pwcs, size_t n);
+
+/*
* Exports from mscrypto.c
*/
#ifdef MSCRYPTOAPI
* Exports from mscrypto.c
*/
#ifdef MSCRYPTOAPI
term->logctx)
logtraffic(term->logctx, (unsigned char) c, LGTYP_ASCII);
{
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;
int width = 0;
if (DIRECT_CHAR(c))
width = 1;
struct interval {
unsigned short first;
unsigned short last;
struct interval {
unsigned short first;
unsigned short last;