Merge branch 'feat-dirshow' of https://github.com/jpirnay/crosspoint-reader into mybuild

This commit is contained in:
jpirnay
2026-03-08 09:54:29 +01:00
+1 -1
View File
@@ -255,7 +255,7 @@ void FileBrowserActivity::loop() {
std::string getFileName(std::string filename) {
if (filename.back() == '/') {
return filename.substr(0, filename.length() - 1);
return "[" + filename.substr(0, filename.length() - 1) + "]";
}
const auto pos = filename.rfind('.');
return filename.substr(0, pos);