[Bf-blender-cvs] [18181104592] master: Fix compile error on Windows.

Thomas Dinges noreply at git.blender.org
Thu Dec 16 10:08:54 CET 2021


Commit: 18181104592ffee9d21433e0e21f85e2b7f277b1
Author: Thomas Dinges
Date:   Thu Dec 16 10:08:31 2021 +0100
Branches: master
https://developer.blender.org/rB18181104592ffee9d21433e0e21f85e2b7f277b1

Fix compile error on Windows.

===================================================================

M	source/blender/blenlib/intern/path_util.c

===================================================================

diff --git a/source/blender/blenlib/intern/path_util.c b/source/blender/blenlib/intern/path_util.c
index de71188abfe..8f7180a5b96 100644
--- a/source/blender/blenlib/intern/path_util.c
+++ b/source/blender/blenlib/intern/path_util.c
@@ -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



More information about the Bf-blender-cvs mailing list