Update find_directory to use a lowercase path for the on-disk trash location like more or less all other system dirs. Should be the last of the trash changes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35135 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
b37100b2bf
commit
114580cd78
@ -201,7 +201,7 @@ find_directory(directory_which which, dev_t device, bool createIt,
|
||||
case B_TRASH_DIRECTORY:
|
||||
// TODO: eventually put that into the file system API?
|
||||
if (device == bootDevice || !strcmp(fsInfo.fsh_name, "bfs"))
|
||||
template = "Trash"; // TODO: add suffix for current user
|
||||
template = "trash"; // TODO: add suffix for current user
|
||||
else if (!strcmp(fsInfo.fsh_name, "fat"))
|
||||
template = "RECYCLED/_BEOS_";
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user