From fd309cc73338104a8adabdc9d0713221da44fd55 Mon Sep 17 00:00:00 2001
From: Jacob Waterman <jwlhc172@gmail.com>
Date: Thu, 23 Aug 2012 09:29:23 +0000
Subject: [PATCH 3/3] Corrected code spacing/formatting issues. (#8872)
---
src/apps/drivesetup/PartitionList.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/apps/drivesetup/PartitionList.cpp b/src/apps/drivesetup/PartitionList.cpp
index b3b76f5..074b88d 100644
a
|
b
|
PartitionListRow::GetPath()
|
288 | 288 | |
289 | 289 | BBitmapStringField* stringField |
290 | 290 | = dynamic_cast<BBitmapStringField*>(GetField(kDeviceColumn)); |
291 | | if(stringField != NULL) { |
| 291 | if (stringField != NULL) { |
292 | 292 | pathString = const_cast<char*>(stringField->String()); |
293 | 293 | } |
294 | 294 | |
… |
… |
PartitionListView::InitiateDrag(BPoint rowPoint, bool wasSelected)
|
332 | 332 | { |
333 | 333 | PartitionListRow* draggedRow |
334 | 334 | = dynamic_cast<PartitionListRow*>(RowAt(rowPoint)); |
335 | | if(draggedRow != NULL) { |
| 335 | if (draggedRow != NULL) { |
336 | 336 | BRect draggedRowRect; |
337 | 337 | GetRowRect(draggedRow, &draggedRowRect); |
338 | 338 | |
339 | 339 | const char* draggedPath = draggedRow->GetPath(); |
340 | | if(draggedPath != NULL) { |
| 340 | if (draggedPath != NULL) { |
341 | 341 | BMessage *drag = new BMessage(B_MIME_DATA); |
342 | 342 | drag->AddData("text/plain", B_MIME_TYPE, draggedPath, strlen(draggedPath)); |
343 | 343 | |