Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
3992a76e
Commit
3992a76e
authored
Apr 02, 2024
by
Brendan Shanks
Committed by
Alexandre Julliard
Apr 03, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
win32u: Use PATH_MAX for Unix paths instead of MAX_PATH (from Win32).
parent
0feed009
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
freetype.c
dlls/win32u/freetype.c
+2
-2
No files found.
dlls/win32u/freetype.c
View file @
3992a76e
...
...
@@ -332,7 +332,7 @@ static char *find_cache_dir(void)
{
FSRef
ref
;
OSErr
err
;
static
char
cached_path
[
MAX_PATH
];
static
char
cached_path
[
PATH_MAX
];
static
const
char
*
wine
=
"/Wine"
,
*
fonts
=
"/Fonts"
;
if
(
*
cached_path
)
return
cached_path
;
...
...
@@ -1439,7 +1439,7 @@ static BOOL ReadFontDir(const char *dirname, BOOL external_fonts)
{
DIR
*
dir
;
struct
dirent
*
dent
;
char
path
[
MAX_PATH
];
char
path
[
PATH_MAX
];
TRACE
(
"Loading fonts from %s
\n
"
,
debugstr_a
(
dirname
));
...
...
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