Fix compile error on Windows.
This commit is contained in:
parent
8dbd406ea0
commit
1818110459
|
@ -1008,7 +1008,7 @@ bool BLI_path_is_abs_from_cwd(const char *path)
|
|||
const int path_len_clamp = BLI_strnlen(path, 3);
|
||||
|
||||
#ifdef WIN32
|
||||
if ((ppath_len_clamp >= 3 && BLI_path_is_abs(path)) || BLI_path_is_unc(path)) {
|
||||
if ((path_len_clamp >= 3 && BLI_path_is_abs(path)) || BLI_path_is_unc(path)) {
|
||||
is_abs = true;
|
||||
}
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue