summaryrefslogtreecommitdiff
path: root/editors/joe2
diff options
context:
space:
mode:
authorBill Fenner <fenner@FreeBSD.org>1998-01-22 01:44:14 +0000
committerBill Fenner <fenner@FreeBSD.org>1998-01-22 01:44:14 +0000
commite7804d36360abc4828cf7bc442e5a87f93ad713c (patch)
treeb0b7372a5d646630c090b26234f4fb0943e212bc /editors/joe2
parentFix MASTER_SITES. (diff)
Use bold (if available) when underlining is not available.
PR: ports/4521 Submitted by: Dan Nelson <dnelson@emsphone.com>
Notes
Notes: svn path=/head/; revision=9406
Diffstat (limited to 'editors/joe2')
-rw-r--r--editors/joe2/files/patch-ac16
1 files changed, 16 insertions, 0 deletions
diff --git a/editors/joe2/files/patch-ac b/editors/joe2/files/patch-ac
new file mode 100644
index 000000000000..a479bec93fe6
--- /dev/null
+++ b/editors/joe2/files/patch-ac
@@ -0,0 +1,16 @@
+--- scrn.c.old Thu Oct 6 02:10:07 1994
++++ scrn.c Thu Sep 11 11:45:47 1997
+@@ -288,6 +288,12 @@
+ if(!(t->uc=jgetstr(t->cap,"uc"))) if(t->ul) t->uc="_";
+ if(t->uc) t->avattr|=UNDERLINE;
+
++/* If we don't have underline, but we do have bold, print underline as bold */
++if (!(t->avattr & UNDERLINE) && t->md != NULL)
++ {
++ t->us = t->md ; t->ue = t->me ; t->avattr |= UNDERLINE;
++ }
++
+ t->ms=getflag(t->cap,"ms");
+
+ t->da=getflag(t->cap,"da");
+