diff --git a/0001-Add-label-ft-plugin.patch b/0001-Add-label-ft-plugin.patch index a9f5831..9bf8078 100644 --- a/0001-Add-label-ft-plugin.patch +++ b/0001-Add-label-ft-plugin.patch @@ -316,8 +316,8 @@ index 0000000..06fe73e + label->area.height += (label->face->size->metrics.ascender - label->face->size->metrics.descender) >> 6; + + text = strchr (text, '\n'); -+ -+ if (*text == '\n') ++ /* skip newline character */ ++ if (text) + ++text; + } + @@ -460,8 +460,8 @@ index 0000000..06fe73e + + ++cur_c; + } -+ -+ if(*cur_c == '\n') ++ /* skip newline character */ ++ if (*cur_c) + ++cur_c; + + /* Next line */ diff --git a/plymouth.spec b/plymouth.spec index c49025b..9124b80 100644 --- a/plymouth.spec +++ b/plymouth.spec @@ -26,7 +26,7 @@ Release: 0 Summary: Graphical Boot Animation and Logger License: GPL-2.0-or-later Group: System/Base -Url: http://freedesktop.org/software/plymouth/releases +URL: http://freedesktop.org/software/plymouth/releases # Switched to git snapshot to ease bugfix inclusion Source0: %{name}-%{version}.tar.xz Source1: boot-duration