diff --git a/src/apps/drivesetup/DiskView.cpp b/src/apps/drivesetup/DiskView.cpp index 02e8872ed0..8980cfe5b4 100644 --- a/src/apps/drivesetup/DiskView.cpp +++ b/src/apps/drivesetup/DiskView.cpp @@ -287,8 +287,8 @@ public: off_t offset; off_t size; for (int32 i = 0; - info.GetPartitionableSpaceAt(i, &offset, &size) >= B_OK; - i++) { + info.GetPartitionableSpaceAt(i, &offset, &size) >= B_OK; + i++) { // TODO: remove again once Disk Device API is fixed if (!is_valid_partitionable_space(size)) continue; diff --git a/src/apps/drivesetup/MainWindow.cpp b/src/apps/drivesetup/MainWindow.cpp index 6376e88bc1..346a8856ae 100644 --- a/src/apps/drivesetup/MainWindow.cpp +++ b/src/apps/drivesetup/MainWindow.cpp @@ -102,8 +102,8 @@ private: off_t offset; off_t size; for (int32 i = 0; - info.GetPartitionableSpaceAt(i, &offset, &size) >= B_OK; - i++) { + info.GetPartitionableSpaceAt(i, &offset, &size) >= B_OK; + i++) { // TODO: remove again once Disk Device API is fixed if (!is_valid_partitionable_space(size)) continue;