diff --git a/src/apps/installer/InstallerWindow.cpp b/src/apps/installer/InstallerWindow.cpp index 90feb048b1..fbc70bef98 100644 --- a/src/apps/installer/InstallerWindow.cpp +++ b/src/apps/installer/InstallerWindow.cpp @@ -362,7 +362,7 @@ InstallerWindow::MessageReceived(BMessage *msg) case SHOW_BOTTOM_MESSAGE: _ShowOptionalPackages(); break; - case SRC_PARTITION: + case SOURCE_PARTITION: _PublishPackages(); _UpdateControls(); break; diff --git a/src/apps/installer/PartitionMenuItem.h b/src/apps/installer/PartitionMenuItem.h index abd3925a10..722563258c 100644 --- a/src/apps/installer/PartitionMenuItem.h +++ b/src/apps/installer/PartitionMenuItem.h @@ -9,7 +9,7 @@ #include -const uint32 SRC_PARTITION = 'iSPT'; +const uint32 SOURCE_PARTITION = 'iSPT'; const uint32 TARGET_PARTITION = 'iTPT'; diff --git a/src/apps/installer/WorkerThread.cpp b/src/apps/installer/WorkerThread.cpp index aa1848c943..f23feae8bf 100644 --- a/src/apps/installer/WorkerThread.cpp +++ b/src/apps/installer/WorkerThread.cpp @@ -535,7 +535,7 @@ SourceVisitor::Visit(BPartition *partition, int32 level) char menuLabel[255]; make_partition_label(partition, label, menuLabel, false); PartitionMenuItem* item = new PartitionMenuItem(partition->ContentName(), - label, NULL, new BMessage(SRC_PARTITION), partition->ID()); + label, menuLabel, new BMessage(SOURCE_PARTITION), partition->ID()); item->SetMarked(isBootPartition); fMenu->AddItem(item); return false;