aboutsummaryrefslogtreecommitdiff
path: root/editors/joe/files/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'editors/joe/files/patch-ac')
-rw-r--r--editors/joe/files/patch-ac16
1 files changed, 16 insertions, 0 deletions
diff --git a/editors/joe/files/patch-ac b/editors/joe/files/patch-ac
new file mode 100644
index 000000000000..a479bec93fe6
--- /dev/null
+++ b/editors/joe/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");
+