From 9deef7d466e88fd5030a5e03165c7b6894b12728 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Sat, 2 Feb 2013 01:07:49 +0100 Subject: [PATCH] DriveSetup: show content type if there is no type. --- src/apps/drivesetup/PartitionList.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/apps/drivesetup/PartitionList.cpp b/src/apps/drivesetup/PartitionList.cpp index 098b2d3f37..04246ed2a7 100644 --- a/src/apps/drivesetup/PartitionList.cpp +++ b/src/apps/drivesetup/PartitionList.cpp @@ -285,6 +285,8 @@ PartitionListRow::PartitionListRow(BPartition* partition) // Partition type + if (partitionType.IsEmpty()) + partitionType = partition->ContentType(); SetField(new BStringField(partitionType), kPartitionTypeColumn); }