shithub: neatroff

Download patch

ref: 193e2707dea85f0fc2af010c5379b7b84e02b7f9
parent: ab1ca71421da19c3df6bd8cb28991d9ab0c4ebaa
author: Ali Gholami Rudi <ali@rudi.ir>
date: Mon Dec 8 11:45:46 EST 2014

dev: report bad font positions

--- a/dev.c
+++ b/dev.c
@@ -174,7 +174,7 @@
 	if (isdigit(id[0])) {
 		int num = atoi(id);
 		if (num < 0 || num >= NFONTS || !fn_font[num]) {
-			errmsg("bad font position\n");
+			errmsg("neatroff: bad font position %s\n", id);
 			return -1;
 		}
 		return num;