Skip to content
Permalink
Browse files

stfl: add missing patch file

  • Loading branch information
MarcusCalhoun-Lopez committed May 17, 2020
1 parent b9e46f5 commit 4cc4966761580cd5fe651505e125d9d54edab8f3
Showing with 19 additions and 0 deletions.
  1. +19 −0 devel/stfl/files/patch-newsboat.diff
@@ -0,0 +1,19 @@
https://github.com/newsboat/newsboat/issues/506

--- base.c.orig 2015-01-05 10:50:54 UTC
+++ base.c
@@ -750,9 +750,11 @@ unsigned int stfl_print_richtext(struct stfl_widget *w
wmemcpy(stylename, p1 + 1, p2 - p1 - 1);
stylename[p2 - p1 - 1] = L'\0';
if (wcscmp(stylename,L"")==0) {
- mvwaddnwstr(win, y, x, L"<", 1);
- retval += 1;
- ++x;
+ if (end_col - x > 0) {
+ mvwaddnwstr(win, y, x, L"<", 1);
+ retval += 1;
+ ++x;
+ }
} else if (wcscmp(stylename, L"/")==0) {
stfl_style(win, style_normal);
} else {

0 comments on commit 4cc4966

Please sign in to comment.
You can’t perform that action at this time.