Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
f58006d9
Unverified
Commit
f58006d9
authored
Dec 28, 2015
by
Mike Gabriel
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'sunweaver-pr/dixfont-fix' into 3.6.x
Attributes GH PR #58:
https://github.com/ArcticaProject/nx-libs/pull/58
parents
edce2521
aea71067
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
dixfonts.c
nx-X11/programs/Xserver/dix/dixfonts.c
+7
-4
No files found.
nx-X11/programs/Xserver/dix/dixfonts.c
View file @
f58006d9
...
...
@@ -1929,11 +1929,14 @@ GetFontPath(int *count, int *length)
fpe
=
font_path_elements
[
i
];
len
+=
fpe
->
name_length
+
1
;
}
font_path_string
=
(
unsigned
char
*
)
xrealloc
(
font_path_string
,
len
);
if
(
!
font_path_string
)
return
NULL
;
c
=
realloc
(
font_path_string
,
len
);
if
(
c
==
NULL
)
{
free
(
font_path_string
);
font_path_string
=
NULL
;
return
BadAlloc
;
}
c
=
font_path_string
;
font_path_string
=
c
;
*
length
=
0
;
for
(
i
=
0
;
i
<
num_fpes
;
i
++
)
{
fpe
=
font_path_elements
[
i
];
...
...
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