mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-30 06:11:15 +00:00
win32u: Use PATH_MAX for Unix paths instead of MAX_PATH (from Win32).
This commit is contained in:
parent
0feed009b4
commit
3992a76ee9
|
@ -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));
|
||||
|
||||
|
|
Loading…
Reference in a new issue