From 9c714d93df1dc51d5d8f4d2d2f68c73fa92ad14b Mon Sep 17 00:00:00 2001 From: superp00t Date: Sat, 2 Dec 2023 12:10:17 -0500 Subject: [PATCH] fix(file): added missing increment inside MakeUnivPath --- bc/file/Path.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bc/file/Path.cpp b/bc/file/Path.cpp index 9c1306a..e27bd47 100644 --- a/bc/file/Path.cpp +++ b/bc/file/Path.cpp @@ -179,6 +179,8 @@ bool MakeUnivPath(const char* path, char* result, size_t capacity) { } result[i] = path[i] == '\\' ? '/' : path[i]; + + i++; } result[0] = '\0';