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
aa31448f
Commit
aa31448f
authored
Nov 01, 2007
by
Bernie Purcell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Address Trac Issue #1350 - linebreaks being ignored under some
circumstances in styled subtitles.
parent
5314d595
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
modules/misc/freetype.c
modules/misc/freetype.c
+11
-2
No files found.
modules/misc/freetype.c
View file @
aa31448f
...
@@ -1703,9 +1703,8 @@ static int RenderTag( filter_t *p_filter, FT_Face p_face, int i_font_color,
...
@@ -1703,9 +1703,8 @@ static int RenderTag( filter_t *p_filter, FT_Face p_face, int i_font_color,
{
{
*
psz_unicode_start
=
'\0'
;
*
psz_unicode_start
=
'\0'
;
}
}
else
else
if
(
psz_unicode
>
psz_unicode_start
)
{
{
psz_unicode
++
;
for
(
i
=
0
;
psz_unicode
[
i
];
i
++
)
for
(
i
=
0
;
psz_unicode
[
i
];
i
++
)
psz_unicode_start
[
i
]
=
psz_unicode
[
i
];
psz_unicode_start
[
i
]
=
psz_unicode
[
i
];
psz_unicode_start
[
i
]
=
'\0'
;
psz_unicode_start
[
i
]
=
'\0'
;
...
@@ -2507,6 +2506,16 @@ static int ProcessLines( filter_t *p_filter,
...
@@ -2507,6 +2506,16 @@ static int ProcessLines( filter_t *p_filter,
p_prev
=
p_line
;
p_prev
=
p_line
;
p_line
=
NULL
;
p_line
=
NULL
;
if
(
*
psz_unicode
==
'\n'
)
{
uint32_t
*
c_ptr
;
for
(
c_ptr
=
psz_unicode
;
*
c_ptr
;
c_ptr
++
)
{
*
c_ptr
=
*
(
c_ptr
+
1
);
}
}
}
}
}
}
free
(
psz_unicode
);
free
(
psz_unicode
);
...
...
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