diff options
author | fenner <fenner@FreeBSD.org> | 1998-01-22 01:44:14 +0000 |
---|---|---|
committer | fenner <fenner@FreeBSD.org> | 1998-01-22 01:44:14 +0000 |
commit | 353d2c35196d08e7cf1f74012ce1494b757582fc (patch) | |
tree | 5231731cbf3f4d2d12a4336477e26ac963942231 /editors | |
parent | 7d3d6283957886313260d09333f2eb8733942165 (diff) | |
download | FreeBSD-ports-353d2c35196d08e7cf1f74012ce1494b757582fc.zip FreeBSD-ports-353d2c35196d08e7cf1f74012ce1494b757582fc.tar.gz |
Use bold (if available) when underlining is not available.
PR: ports/4521
Submitted by: Dan Nelson <dnelson@emsphone.com>
Diffstat (limited to 'editors')
-rw-r--r-- | editors/joe-devel/files/patch-ac | 16 | ||||
-rw-r--r-- | editors/joe/files/patch-ac | 16 | ||||
-rw-r--r-- | editors/joe2/files/patch-ac | 16 |
3 files changed, 48 insertions, 0 deletions
diff --git a/editors/joe-devel/files/patch-ac b/editors/joe-devel/files/patch-ac new file mode 100644 index 0000000..a479bec --- /dev/null +++ b/editors/joe-devel/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"); + diff --git a/editors/joe/files/patch-ac b/editors/joe/files/patch-ac new file mode 100644 index 0000000..a479bec --- /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"); + diff --git a/editors/joe2/files/patch-ac b/editors/joe2/files/patch-ac new file mode 100644 index 0000000..a479bec --- /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"); + |