Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Szunti
fontconfig
Commits
23e46d13
Commit
23e46d13
authored
Jan 20, 2021
by
Szunti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix stripping whitespace from end of family in FcPatternAddFullname
parent
4b142e92
Pipeline
#258755
passed with stage
in 6 minutes and 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/fcopentype.c
src/fcopentype.c
+1
-1
No files found.
src/fcopentype.c
View file @
23e46d13
...
...
@@ -49,7 +49,7 @@ FcPatternAddFullname (FcPattern *pat)
len
=
strlen
((
const
char
*
)
family
);
for
(
i
=
len
;
i
>
0
;
i
--
)
{
if
(
!
isspace
(
family
[
i
]))
if
(
!
isspace
(
family
[
i
-
1
]))
break
;
}
family
[
i
]
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment