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
c80cd468
Commit
c80cd468
authored
Sep 09, 2010
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
skins2: fix compiler warnings (missing ())
parent
f35cb906
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
modules/gui/skins2/src/ft2_font.cpp
modules/gui/skins2/src/ft2_font.cpp
+3
-3
No files found.
modules/gui/skins2/src/ft2_font.cpp
View file @
c80cd468
...
...
@@ -55,7 +55,7 @@ bool FT2Font::init()
{
unsigned
err
;
if
(
err
=
FT_Init_FreeType
(
&
m_lib
)
)
if
(
(
err
=
FT_Init_FreeType
(
&
m_lib
)
)
)
{
msg_Err
(
getIntf
(),
"failed to initialize freetype (%s)"
,
ft2_strerror
(
err
)
);
...
...
@@ -113,7 +113,7 @@ bool FT2Font::init()
}
// Select the charset
if
(
err
=
FT_Select_Charmap
(
m_face
,
ft_encoding_unicode
)
)
if
(
(
err
=
FT_Select_Charmap
(
m_face
,
ft_encoding_unicode
)
)
)
{
msg_Err
(
getIntf
(),
"font %s has no UNICODE table (%s)"
,
m_name
.
c_str
(),
ft2_strerror
(
err
)
);
...
...
@@ -121,7 +121,7 @@ bool FT2Font::init()
}
// Set the pixel size
if
(
err
=
FT_Set_Pixel_Sizes
(
m_face
,
0
,
m_size
)
)
if
(
(
err
=
FT_Set_Pixel_Sizes
(
m_face
,
0
,
m_size
)
)
)
{
msg_Warn
(
getIntf
(),
"cannot set a pixel size of %d for %s (%s)"
,
m_size
,
m_name
.
c_str
(),
ft2_strerror
(
err
)
);
...
...
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