summaryrefslogtreecommitdiff
path: root/gpttext.cc
diff options
context:
space:
mode:
authorRoderick W. Smith <rodsmith@rodsbooks.com>2014-03-29 00:27:33 -0400
committerRoderick W. Smith <rodsmith@rodsbooks.com>2014-03-29 00:27:33 -0400
commitf694803eca2074523b8e502d386ca03b5642a63b (patch)
tree62daa407de2c4354f871df1b3b45a356fcff1d43 /gpttext.cc
parente62b52732689bc467051688647dbad3d5daa5cb6 (diff)
downloadsgdisk-f694803eca2074523b8e502d386ca03b5642a63b.tar.gz
Fixes for minor typos and trivial bugs.
Diffstat (limited to 'gpttext.cc')
-rw-r--r--gpttext.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gpttext.cc b/gpttext.cc
index 15fba7b..718b99b 100644
--- a/gpttext.cc
+++ b/gpttext.cc
@@ -198,9 +198,9 @@ void GPTDataTextUI::CreatePartition(void) {
Align(&firstInLargest);
// Get partition number....
+ prompt1 << "Partition number (" << firstFreePart + 1 << "-" << numParts
+ << ", default " << firstFreePart + 1 << "): ";
do {
- prompt1 << "Partition number (" << firstFreePart + 1 << "-" << numParts
- << ", default " << firstFreePart + 1 << "): ";
partNum = GetNumber(firstFreePart + 1, numParts,
firstFreePart + 1, prompt1.str()) - 1;
if (partitions[partNum].GetFirstLBA() != 0)