summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBertrand Garrigues <bertrand.garrigues@laposte.net>2018-01-21 22:47:10 +0100
committerBertrand Garrigues <bertrand.garrigues@laposte.net>2018-01-21 22:47:10 +0100
commit02fb4c382ab963a1ea56e50a5d944954d1886636 (patch)
treed2db941ae454680dd72b6652721c37874a9d288a
parent3dfd16ef3faf1d3bf137c629276c11aa528300e5 (diff)
downloadgroff-git-unique-version.tar.gz
Fix mom packageunique-version
-rw-r--r--contrib/mom/om.tmac-u10
1 files changed, 7 insertions, 3 deletions
diff --git a/contrib/mom/om.tmac-u b/contrib/mom/om.tmac-u
index 78576afba..072740eb5 100644
--- a/contrib/mom/om.tmac-u
+++ b/contrib/mom/om.tmac-u
@@ -552,10 +552,12 @@ end
. fam \\*[$TYPEWRITER_FAM]
. return
. \}
-. if (\\n[.x]\\n[.y]\\n[.Y] >= 1192) .ds $SAVED_STYLE \\n[.sty]
+. .ds short_revision \\n[.Y]
+. .substring short_revision 0 0
+. if (\\n[.x]\\n[.y]\\*[short_revision] >= 1192) .ds $SAVED_STYLE \\n[.sty]
. ft 0
. fam \\*[$FAMILY]
-. if (\\n[.x]\\n[.y]\\n[.Y] >= 1192) \{\
+. if (\\n[.x]\\n[.y]\\*[short_revision] >= 1192) \{\
. ft \\*[$SAVED_STYLE]
. if !F\\n[.fn] .ft 0
. \}
@@ -592,7 +594,9 @@ end
. \}
. ft 0
. ft \\*[$FONT]
-. if (\\n[.x]\\n[.y]\\n[.Y] >= 1192) \{\
+. .ds short_revision \\n[.Y]
+. .substring short_revision 0 0
+. if (\\n[.x]\\n[.y]\\*[short_revision] >= 1192) \{\
. if '\\n[.sty]'' \{\
. if !F\\n[.fn] \{\
. if !S\\*[$FONT] \{\