mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-06-20 00:47:46 +00:00
Re-Added replacing backward slashes with forward slashes in BuildPckTreeView and added a comment explaining why
This commit is contained in:
@@ -243,7 +243,8 @@ namespace PckStudio
|
||||
{
|
||||
foreach (var file in pckFile.Files)
|
||||
{
|
||||
TreeNode node = BuildNodeTreeBySeperator(root, file.filepath, '/');
|
||||
// Replace backward slashes('\') with forward slashes('/') since some filepath use backward slashes
|
||||
TreeNode node = BuildNodeTreeBySeperator(root, file.filepath.Replace('\\', '/'), '/');
|
||||
node.Tag = file;
|
||||
switch (file.filetype)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user