Cleanup: correct path size argument
BKE_appdir_folder_documents clamps to FILE_MAXDIR internally.
This commit is contained in:
parent
8a852de147
commit
bb5a22539c
|
@ -130,7 +130,7 @@ const char *BKE_appdir_folder_default(void)
|
|||
#ifndef WIN32
|
||||
return BLI_getenv("HOME");
|
||||
#else /* Windows */
|
||||
static char documentfolder[MAXPATHLEN];
|
||||
static char documentfolder[FILE_MAXDIR];
|
||||
|
||||
if (BKE_appdir_folder_documents(documentfolder)) {
|
||||
return documentfolder;
|
||||
|
|
Loading…
Reference in New Issue