diff options
author | Bill Fenner <fenner@FreeBSD.org> | 1998-01-22 01:44:14 +0000 |
---|---|---|
committer | Bill Fenner <fenner@FreeBSD.org> | 1998-01-22 01:44:14 +0000 |
commit | e7804d36360abc4828cf7bc442e5a87f93ad713c (patch) | |
tree | b0b7372a5d646630c090b26234f4fb0943e212bc /editors/joe/files/patch-ac | |
parent | b43892bb6c9a4623fee95f9a2b495c8d62696d13 (diff) | |
download | ports-e7804d36360abc4828cf7bc442e5a87f93ad713c.tar.gz ports-e7804d36360abc4828cf7bc442e5a87f93ad713c.zip |
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/joe/files/patch-ac')
-rw-r--r-- | editors/joe/files/patch-ac | 16 |
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"); + |