SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
21
mail/neomutt/patches/patch-pager_display_c
Normal file
21
mail/neomutt/patches/patch-pager_display_c
Normal file
|
@ -0,0 +1,21 @@
|
|||
A_ITALIC was only added to curses in 2013.
|
||||
|
||||
Index: pager/display.c
|
||||
--- pager/display.c.orig
|
||||
+++ pager/display.c
|
||||
@@ -217,6 +217,7 @@ static void resolve_color(struct MuttWindow *win, stru
|
||||
else
|
||||
color.attrs |= A_UNDERLINE;
|
||||
}
|
||||
+#ifdef A_ITALIC
|
||||
else if (special & A_ITALIC)
|
||||
{
|
||||
if (simple_color_is_set(MT_COLOR_ITALIC) && !search)
|
||||
@@ -224,6 +225,7 @@ static void resolve_color(struct MuttWindow *win, stru
|
||||
else
|
||||
color.attrs |= A_ITALIC;
|
||||
}
|
||||
+#endif
|
||||
else if (ansi->attr_color)
|
||||
{
|
||||
color = *ansi->attr_color;
|
Loading…
Add table
Add a link
Reference in a new issue