Accepting request 595949 from home:qzhao:branches:Base:System

update by Fabian's suggestion

OBS-URL: https://build.opensuse.org/request/show/595949
OBS-URL: https://build.opensuse.org/package/show/Base:System/plymouth?expand=0&rev=192
This commit is contained in:
Cliff Zhao 2018-04-12 10:47:11 +00:00 committed by Git OBS Bridge
parent 69a0b5c496
commit cc63b0d3f5
2 changed files with 5 additions and 5 deletions

View File

@ -316,8 +316,8 @@ index 0000000..06fe73e
+ label->area.height += (label->face->size->metrics.ascender - label->face->size->metrics.descender) >> 6; + label->area.height += (label->face->size->metrics.ascender - label->face->size->metrics.descender) >> 6;
+ +
+ text = strchr (text, '\n'); + text = strchr (text, '\n');
+ /* skip newline character */ +
+ if (text) + if (*text == '\n')
+ ++text; + ++text;
+ } + }
+ +
@ -460,8 +460,8 @@ index 0000000..06fe73e
+ +
+ ++cur_c; + ++cur_c;
+ } + }
+ /* skip newline character */ +
+ if (*cur_c) + if(*cur_c == '\n')
+ ++cur_c; + ++cur_c;
+ +
+ /* Next line */ + /* Next line */

View File

@ -26,7 +26,7 @@ Release: 0
Summary: Graphical Boot Animation and Logger Summary: Graphical Boot Animation and Logger
License: GPL-2.0-or-later License: GPL-2.0-or-later
Group: System/Base 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 # Switched to git snapshot to ease bugfix inclusion
Source0: %{name}-%{version}.tar.xz Source0: %{name}-%{version}.tar.xz
Source1: boot-duration Source1: boot-duration