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
969acffd
Commit
969acffd
authored
Mar 27, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Freetype: small fix for non-Win32 systems
parent
10c867dd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
modules/misc/text_renderer/freetype.c
modules/misc/text_renderer/freetype.c
+3
-5
No files found.
modules/misc/text_renderer/freetype.c
View file @
969acffd
...
@@ -2200,13 +2200,12 @@ static void FontConfig_BuildCache( filter_t *p_filter )
...
@@ -2200,13 +2200,12 @@ static void FontConfig_BuildCache( filter_t *p_filter )
{
{
/* */
/* */
msg_Dbg
(
p_filter
,
"Building font databases."
);
msg_Dbg
(
p_filter
,
"Building font databases."
);
mtime_t
t1
;
mtime_t
t1
,
t2
;
t1
=
mdate
();
t1
=
mdate
();
#ifdef WIN32
#ifdef WIN32
dialog_progress_bar_t
*
p_dialog
=
NULL
;
dialog_progress_bar_t
*
p_dialog
=
NULL
;
FcConfig
*
fcConfig
=
FcInitLoadConfig
();
FcConfig
*
fcConfig
=
FcInitLoadConfig
();
mtime_t
t2
;
p_dialog
=
dialog_ProgressCreate
(
p_filter
,
p_dialog
=
dialog_ProgressCreate
(
p_filter
,
_
(
"Building font cache"
),
_
(
"Building font cache"
),
...
@@ -2217,9 +2216,6 @@ static void FontConfig_BuildCache( filter_t *p_filter )
...
@@ -2217,9 +2216,6 @@ static void FontConfig_BuildCache( filter_t *p_filter )
dialog_ProgressSet( p_dialog, NULL, 0.5 ); */
dialog_ProgressSet( p_dialog, NULL, 0.5 ); */
FcConfigBuildFonts
(
fcConfig
);
FcConfigBuildFonts
(
fcConfig
);
t2
=
mdate
();
msg_Dbg
(
p_filter
,
"Took %ld microseconds"
,
(
long
)((
t2
-
t1
))
);
if
(
p_dialog
)
if
(
p_dialog
)
{
{
// dialog_ProgressSet( p_dialog, NULL, 1.0 );
// dialog_ProgressSet( p_dialog, NULL, 1.0 );
...
@@ -2227,6 +2223,8 @@ static void FontConfig_BuildCache( filter_t *p_filter )
...
@@ -2227,6 +2223,8 @@ static void FontConfig_BuildCache( filter_t *p_filter )
p_dialog
=
NULL
;
p_dialog
=
NULL
;
}
}
#endif
#endif
t2
=
mdate
();
msg_Dbg
(
p_filter
,
"Took %ld microseconds"
,
(
long
)((
t2
-
t1
))
);
}
}
/***
/***
...
...
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