X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fscansbr.c;h=1f2785a06cdc424dae2ee427749fdba17ff2cef6;hb=726d5ae2bd65f6936b9291c8dad6c37cb202f482;hp=7eef85f97ecfa378b116cd27df52834cd2ca905c;hpb=bd4fca3a8a15b35a04bdc333503c901d677c12eb;p=mmh diff --git a/uip/scansbr.c b/uip/scansbr.c index 7eef85f..1f2785a 100644 --- a/uip/scansbr.c +++ b/uip/scansbr.c @@ -58,7 +58,11 @@ char *scanl = 0; /* text of most recent scanline */ */ static int mh_fputs(char *, FILE *); +#ifdef MULTIBYTE_SUPPORT #define SCAN_CHARWIDTH MB_CUR_MAX +#else +#define SCAN_CHARWIDTH 1 +#endif int scan (FILE *inb, int innum, int outnum, char *nfs, int width, int curflg,