Ticket #8872: 0003-Corrected-code-spacing-formatting-issues.-8872.patch

File 0003-Corrected-code-spacing-formatting-issues.-8872.patch, 1.3 KB (added by jwlh172, 12 years ago)
  • Forgot to add spaces after if statements.
  • src/apps/drivesetup/PartitionList.cpp

    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()  
    288288
    289289    BBitmapStringField* stringField
    290290        = dynamic_cast<BBitmapStringField*>(GetField(kDeviceColumn));
    291     if(stringField != NULL) {
     291    if (stringField != NULL) {
    292292        pathString = const_cast<char*>(stringField->String());
    293293    }
    294294
    PartitionListView::InitiateDrag(BPoint rowPoint, bool wasSelected)  
    332332{
    333333    PartitionListRow* draggedRow
    334334        = dynamic_cast<PartitionListRow*>(RowAt(rowPoint));
    335     if(draggedRow != NULL) {
     335    if (draggedRow != NULL) {
    336336        BRect draggedRowRect;
    337337        GetRowRect(draggedRow, &draggedRowRect);
    338338
    339339        const char* draggedPath = draggedRow->GetPath();
    340         if(draggedPath != NULL) {
     340        if (draggedPath != NULL) {
    341341            BMessage *drag = new BMessage(B_MIME_DATA);
    342342            drag->AddData("text/plain", B_MIME_TYPE, draggedPath, strlen(draggedPath));
    343343