aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--term_ascii.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/term_ascii.c b/term_ascii.c
index a1b445d2..c4428073 100644
--- a/term_ascii.c
+++ b/term_ascii.c
@@ -1,4 +1,4 @@
-/* $Id: term_ascii.c,v 1.29 2014/08/13 20:34:29 kristaps Exp $ */
+/* $Id: term_ascii.c,v 1.30 2014/08/14 22:33:10 schwarze Exp $ */
/*
* Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -260,12 +260,13 @@ ascii_hspan(const struct termp *p, const struct roffsu *su)
r = su->scale * 2.0 - 1.0;
break;
case SCALE_EN:
+ /* FALLTHROUGH */
case SCALE_EM:
r = su->scale;
break;
case SCALE_MAX:
abort();
- break;
+ /* NOTREACHED */
}
return(r);