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
4babf6e2
Commit
4babf6e2
authored
Feb 23, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Freetype: fix a few warnings
parent
9105ab0a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
modules/misc/freetype.c
modules/misc/freetype.c
+4
-4
No files found.
modules/misc/freetype.c
View file @
4babf6e2
...
...
@@ -389,8 +389,8 @@ static int Create( vlc_object_t *p_this )
goto
error
;
}
FcPatternAddString
(
fontpattern
,
FC_FAMILY
,
psz_fontfamily
);
FcPatternAddString
(
fontpattern
,
FC_SIZE
,
psz_fontsize
);
FcPatternAddString
(
fontpattern
,
FC_FAMILY
,
(
const
FcChar8
*
)
psz_fontfamily
);
FcPatternAddString
(
fontpattern
,
FC_SIZE
,
(
const
FcChar8
*
)
psz_fontsize
);
free
(
psz_fontsize
);
if
(
FcConfigSubstitute
(
NULL
,
fontpattern
,
FcMatchPattern
)
==
FcFalse
)
...
...
@@ -1123,7 +1123,7 @@ static int RenderText( filter_t *p_filter, subpicture_region_t *p_region_out,
}
if
(
pos
>
start_pos
)
{
FriBidi
CharType
base_dir
=
FRIBIDI_TYPE
_LTR
;
FriBidi
ParType
base_dir
=
FRIBIDI_PAR
_LTR
;
fribidi_log2vis
((
FriBidiChar
*
)
psz_unicode
+
start_pos
,
pos
-
start_pos
,
&
base_dir
,
...
...
@@ -1809,7 +1809,7 @@ static int ProcessLines( filter_t *p_filter,
}
if
(
pos
>
start_pos
)
{
FriBidi
CharType
base_dir
=
FRIBIDI_TYPE
_LTR
;
FriBidi
ParType
base_dir
=
FRIBIDI_PAR
_LTR
;
fribidi_log2vis
((
FriBidiChar
*
)
psz_text
+
start_pos
,
pos
-
start_pos
,
&
base_dir
,
(
FriBidiChar
*
)
p_fribidi_string
+
start_pos
,
...
...
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