Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
6b4ec806
Commit
6b4ec806
authored
Feb 27, 2010
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed text_style_Copy() behaviour.
parent
873bcee7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
src/video_output/video_text.c
src/video_output/video_text.c
+2
-7
No files found.
src/video_output/video_text.c
View file @
6b4ec806
...
@@ -184,16 +184,11 @@ text_style_t *text_style_Copy( text_style_t *p_dst, const text_style_t *p_src )
...
@@ -184,16 +184,11 @@ text_style_t *text_style_Copy( text_style_t *p_dst, const text_style_t *p_src )
if
(
!
p_src
)
if
(
!
p_src
)
return
p_dst
;
return
p_dst
;
/* */
if
(
p_dst
->
psz_fontname
)
free
(
p_dst
->
psz_fontname
);
/* */
/* */
*
p_dst
=
*
p_src
;
*
p_dst
=
*
p_src
;
/* */
if
(
p_src
->
psz_fontname
)
if
(
p_dst
->
psz_fontname
)
p_dst
->
psz_fontname
=
strdup
(
p_src
->
psz_fontname
);
p_dst
->
psz_fontname
=
strdup
(
p_dst
->
psz_fontname
);
return
p_dst
;
return
p_dst
;
}
}
...
...
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