#include <time.h>
#include "putty.h"
+#include "terminal.h"
#include "misc.h"
/*
{
static char *linebuffer = 0;
static int linesize = 0;
- int ratio = (in_utf)?6:1;
+ int ratio = (in_utf(term))?6:1;
int i;
char *p;
linesize = len * ratio * 2;
}
- if (in_utf) {
+ if (in_utf(term)) {
/* UTF is a simple algorithm */
for (p = linebuffer, i = 0; i < len; i++) {
wchar_t ch = widebuf[i];