Ticket #4142: installersrcpartition.patch

File installersrcpartition.patch, 1.4 KB (added by idefix, 15 years ago)

Patch to change SRC_PARTITION to SOURCE_PARTITION

  • src/apps/installer/WorkerThread.cpp

     
    535535    char menuLabel[255];
    536536    make_partition_label(partition, label, menuLabel, false);
    537537    PartitionMenuItem* item = new PartitionMenuItem(partition->ContentName(),
    538         label, menuLabel, new BMessage(SRC_PARTITION), partition->ID());
     538        label, menuLabel, new BMessage(SOURCE_PARTITION), partition->ID());
    539539    item->SetMarked(isBootPartition);
    540540    fMenu->AddItem(item);
    541541    return false;
  • src/apps/installer/PartitionMenuItem.h

     
    99#include <Partition.h>
    1010
    1111
    12 const uint32 SRC_PARTITION = 'iSPT';
     12const uint32 SOURCE_PARTITION = 'iSPT';
    1313const uint32 TARGET_PARTITION = 'iTPT';
    1414
    1515
  • src/apps/installer/InstallerWindow.cpp

     
    425425        case SHOW_BOTTOM_MESSAGE:
    426426            _ShowOptionalPackages();
    427427            break;
    428         case SRC_PARTITION:
     428        case SOURCE_PARTITION:
    429429            _PublishPackages();
    430430            _UpdateControls();
    431431            break;