Fix error spotted by Adrien: don't return Trash name for anonymous volumes.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35127 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rene Gollent 2010-01-17 18:27:21 +00:00
parent 6abd81fcf0
commit 0e848e2d69
1 changed files with 1 additions and 0 deletions

View File

@ -335,6 +335,7 @@ Model::Name() const
case kVolumeNode:
if (fVolumeName)
return fVolumeName;
break;
case kTrashNode:
return "Trash";