Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
fontconfig
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
152
Issues
152
List
Boards
Labels
Service Desk
Milestones
Merge Requests
20
Merge Requests
20
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fontconfig
fontconfig
Commits
554041d5
Commit
554041d5
authored
Sep 27, 2017
by
Behdad Esfahbod
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix whitespace-trimming loop and empty strings...
parent
a74109a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/fcfreetype.c
src/fcfreetype.c
+3
-3
No files found.
src/fcfreetype.c
View file @
554041d5
...
@@ -1502,10 +1502,10 @@ FcFreeTypeQueryFaceInternal (const FT_Face face,
...
@@ -1502,10 +1502,10 @@ FcFreeTypeQueryFaceInternal (const FT_Face face,
pp
++
;
pp
++
;
len
=
strlen
((
const
char
*
)
pp
);
len
=
strlen
((
const
char
*
)
pp
);
memmove
(
utf8
,
pp
,
len
+
1
);
memmove
(
utf8
,
pp
,
len
+
1
);
pp
=
utf8
+
len
-
1
;
pp
=
utf8
+
len
;
while
(
*
pp
==
' '
)
while
(
pp
>
utf8
&&
*
(
pp
-
1
)
==
' '
)
pp
--
;
pp
--
;
*
(
pp
+
1
)
=
0
;
*
pp
=
0
;
if
(
FcStringInPatternElement
(
pat
,
elt
,
utf8
))
if
(
FcStringInPatternElement
(
pat
,
elt
,
utf8
))
{
{
...
...
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