From f04b3286bbc8c691d6f9d14aa234518699d6bc9f Mon Sep 17 00:00:00 2001 From: Adubbz Date: Fri, 10 Jul 2020 22:15:36 +1000 Subject: [PATCH] daybreak: append / to paths --- troposphere/daybreak/source/ui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/troposphere/daybreak/source/ui.cpp b/troposphere/daybreak/source/ui.cpp index 62834cd06..429ded3ce 100644 --- a/troposphere/daybreak/source/ui.cpp +++ b/troposphere/daybreak/source/ui.cpp @@ -669,7 +669,7 @@ namespace dbk { /* Determine the selected path. */ char current_path[FS_MAX_PATH] = {}; - snprintf(current_path, sizeof(current_path)-1, "%s%s", m_root, entry.name); + snprintf(current_path, sizeof(current_path)-1, "%s%s/", m_root, entry.name); /* Determine if the chosen path is the bottom level. */ Result rc = 0;