Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
78b09e7b
Commit
78b09e7b
authored
Jul 31, 2010
by
Erwan Tulou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
skins2: kill a warning at compil
parent
6e59bfe8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
modules/gui/skins2/src/ft2_font.cpp
modules/gui/skins2/src/ft2_font.cpp
+6
-2
No files found.
modules/gui/skins2/src/ft2_font.cpp
View file @
78b09e7b
...
...
@@ -90,10 +90,14 @@ bool FT2Font::init()
return
false
;
}
fread
(
m_buffer
,
size
,
1
,
file
);
if
(
fread
(
m_buffer
,
size
,
1
,
file
)
!=
1
)
{
msg_Err
(
getIntf
(),
"unexpected result for read"
);
fclose
(
file
);
return
false
;
}
fclose
(
file
);
err
=
FT_New_Memory_Face
(
m_lib
,
(
const
FT_Byte
*
)
m_buffer
,
size
,
0
,
&
m_face
);
if
(
err
==
FT_Err_Unknown_File_Format
)
...
...
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