diff options
Diffstat (limited to 'source/blender/blenlib/intern/path_util.c')
-rw-r--r-- | source/blender/blenlib/intern/path_util.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/blenlib/intern/path_util.c b/source/blender/blenlib/intern/path_util.c index 18acbca00a1..725b6f8937a 100644 --- a/source/blender/blenlib/intern/path_util.c +++ b/source/blender/blenlib/intern/path_util.c @@ -618,14 +618,14 @@ void BLI_path_rel(char *file, const char *relfile) */ if (*q != '/') { while ((q >= file) && (*q != '/')) { - --q; - --p; + q--; + p--; } } else if (*p != '/') { while ((p >= temp) && (*p != '/')) { - --p; - --q; + p--; + q--; } } |