]> git.cameronkatri.com Git - mandoc.git/blobdiff - term.c
Make any un-recognised font be considered a call for the Roman font.
[mandoc.git] / term.c
diff --git a/term.c b/term.c
index 04d55d6730583bb940c467172906cdb979397be4..97a9ecab8e5ab28eb1f060eb631f98954e9fc51c 100644 (file)
--- a/term.c
+++ b/term.c
@@ -1,4 +1,4 @@
-/*     $Id: term.c,v 1.194 2011/05/17 22:32:45 kristaps Exp $ */
+/*     $Id: term.c,v 1.195 2011/05/18 23:59:08 kristaps Exp $ */
 /*
  * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
  * Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@openbsd.org>
@@ -471,6 +471,8 @@ term_word(struct termp *p, const char *word)
                case (ESCAPE_FONTITALIC):
                        term_fontrepl(p, TERMFONT_UNDER);
                        break;
+               case (ESCAPE_FONT):
+                       /* FALLTHROUGH */
                case (ESCAPE_FONTROMAN):
                        term_fontrepl(p, TERMFONT_NONE);
                        break;