diff options
Diffstat (limited to 'gptpart.cc')
-rw-r--r-- | gptpart.cc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -444,13 +444,13 @@ void GPTPart::ChangeType(void) { cout << "Current type is " << hex << GetHexType() << dec << " (" << GetTypeName() << ")\n"; do { - cout << "Hex code or GUID (L to show codes, Enter = " << hex << DEFAULT_GPT_TYPE << dec << "): "; + cout << "Hex code or GUID (L to show codes, Enter = " << hex << GetHexType() << dec << "): "; line = ReadString(); if ((line[0] == 'L') || (line[0] == 'l')) { partitionType.ShowAllTypes(); } else { if (line.length() == 0) - tempType = DEFAULT_GPT_TYPE; + tempType = GetHexType(); else tempType = line; } // if/else |