Fix compile error on Windows.

This commit is contained in:
Thomas Dinges 2021-12-16 10:08:31 +01:00
parent 8dbd406ea0
commit 1818110459
1 changed files with 1 additions and 1 deletions

View File

@ -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