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
780bc869
Commit
780bc869
authored
May 30, 2012
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
freetype: use MAXPATHLEN instead of 1024 for ATS font file lookup
parent
9ec6a03f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
modules/text_renderer/freetype.c
modules/text_renderer/freetype.c
+2
-1
No files found.
modules/text_renderer/freetype.c
View file @
780bc869
...
@@ -81,6 +81,7 @@
...
@@ -81,6 +81,7 @@
/* apple stuff */
/* apple stuff */
#ifdef __APPLE__
#ifdef __APPLE__
#include <Carbon/Carbon.h>
#include <Carbon/Carbon.h>
#include <sys/param.h>
/* for MAXPATHLEN */
#undef HAVE_FONTCONFIG
#undef HAVE_FONTCONFIG
#define HAVE_STYLES
#define HAVE_STYLES
#endif
#endif
...
@@ -713,7 +714,7 @@ static char* MacLegacy_Select( filter_t *p_filter, const char* psz_fontname,
...
@@ -713,7 +714,7 @@ static char* MacLegacy_Select( filter_t *p_filter, const char* psz_fontname,
VLC_UNUSED
(
b_italic
);
VLC_UNUSED
(
b_italic
);
VLC_UNUSED
(
i_size
);
VLC_UNUSED
(
i_size
);
FSRef
ref
;
FSRef
ref
;
unsigned
char
path
[
1024
];
unsigned
char
path
[
MAXPATHLEN
];
char
*
psz_path
;
char
*
psz_path
;
CFStringRef
cf_fontName
;
CFStringRef
cf_fontName
;
...
...
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