projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert previous change to get rid of MULTIBYTE_SUPPORT ifdef. It turns out
[mmh]
/
uip
/
scansbr.c
diff --git
a/uip/scansbr.c
b/uip/scansbr.c
index
7eef85f
..
1f2785a
100644
(file)
--- 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,