]> diplodocus.org Git - nmh/blobdiff - uip/scansbr.c
Add support for %(size).
[nmh] / uip / scansbr.c
index 7eef85f97ecfa378b116cd27df52834cd2ca905c..1f2785a06cdc424dae2ee427749fdba17ff2cef6 100644 (file)
@@ -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,