source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml: fix typo in previous
@ 2014-12-23 10:10 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2014-12-23 10:10 UTC (permalink / raw)
  To: source

Log Message:
-----------
fix typo in previous

Modified Files:
--------------
    mdocml:
        mdoc_man.c

Revision Data
-------------
Index: mdoc_man.c
===================================================================
RCS file: /home/cvs/mdocml/mdocml/mdoc_man.c,v
retrieving revision 1.78
retrieving revision 1.79
diff -Lmdoc_man.c -Lmdoc_man.c -u -p -r1.78 -r1.79
--- mdoc_man.c
+++ mdoc_man.c
@@ -434,7 +434,7 @@ print_offs(const char *v, int keywords)
 		sz = 6;
 	else if (keywords && !strcmp(v, "indent-two"))
 		sz = 12;
-	else if (a2roffsu(v, &su, SCALE_EN) < 2) {
+	else if (a2roffsu(v, &su, SCALE_EN) > 1) {
 		if (SCALE_EN == su.unit)
 			sz = su.scale;
 		else {
@@ -481,7 +481,7 @@ print_width(const char *v, const struct 
 	/* Convert v into a number (of characters). */
 	if (NULL == v)
 		sz = defsz;
-	else if (a2roffsu(v, &su, SCALE_MAX) < 2) {
+	else if (a2roffsu(v, &su, SCALE_MAX) > 1) {
 		if (SCALE_EN == su.unit)
 			sz = su.scale;
 		else {
--
 To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-12-23 10:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-23 10:10 mdocml: fix typo in previous schwarze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).