summaryrefslogtreecommitdiff
path: root/gpttext.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gpttext.cc')
-rw-r--r--gpttext.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gpttext.cc b/gpttext.cc
index 506c0f1..474b23b 100644
--- a/gpttext.cc
+++ b/gpttext.cc
@@ -452,7 +452,7 @@ void GPTDataTextUI::MakeHybrid(void) {
if (eeFirst == 'Y') {
hybridMBR.AddPart(0, hybridPart);
} else {
- hybridMBR.AddPart(3, hybridPart);
+ hybridMBR.AddPart(numPartsToCvt, hybridPart);
} // else
hybridMBR.SetHybrid();