shithub: neatroff

Download patch

ref: 1892a17f45ec090e3aa05dd6ef13d75d565e77fb
parent: 89223552d8a4f0d838d36021ca944283c4502523
author: Ali Gholami Rudi <[email protected]>
date: Tue Jun 11 12:40:09 EDT 2013

roff.h: increase ILNLEN

--- a/roff.h
+++ b/roff.h
@@ -12,7 +12,7 @@
 #define FNLEN		32	/* font name length */
 #define NGLYPHS		512	/* glyphs in fonts */
 #define GNLEN		32	/* glyph name length */
-#define ILNLEN		256	/* line limit of input files */
+#define ILNLEN		1000	/* line limit of input files */
 #define LNLEN		4000	/* line buffer length (ren.c/out.c) */
 #define NWORDS		256	/* number of words in line buffer */
 #define NARGS		9	/* number of macro arguments */
@@ -89,7 +89,7 @@
 	int nglyphs;
 	int spacewid;
 	int special;
-	char c[NGLYPHS][FNLEN];		/* character names in charset */
+	char c[NGLYPHS][GNLEN];		/* character names in charset */
 	struct glyph *g[NGLYPHS];	/* character glyphs in charset */
 	int n;				/* number of characters in charset */
 };