diff options
author | Roderick W. Smith <rodsmith@rodsbooks.com> | 2013-09-24 12:56:11 -0400 |
---|---|---|
committer | Roderick W. Smith <rodsmith@rodsbooks.com> | 2013-09-24 12:56:11 -0400 |
commit | e3ee733ff8690af7568dac665bc20ecf869dea1d (patch) | |
tree | 2dd7293e1a607729d26174ace272524a17c5d24a /gptcurses.cc | |
parent | 427c799b611e357223da28c778a08451fb789590 (diff) | |
download | sgdisk-e3ee733ff8690af7568dac665bc20ecf869dea1d.tar.gz |
Removed 0x8302 type code, since the Red Hat parted developers have
decided against using it.
Diffstat (limited to 'gptcurses.cc')
-rw-r--r-- | gptcurses.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gptcurses.cc b/gptcurses.cc index ec653b0..2ec8a40 100644 --- a/gptcurses.cc +++ b/gptcurses.cc @@ -1,7 +1,7 @@ /* * Implementation of GPTData class derivative with curses-based text-mode * interaction - * Copyright (C) 2011 Roderick W. Smith + * Copyright (C) 2011-2013 Roderick W. Smith * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -737,8 +737,9 @@ void GPTDataCurses::DrawMenu(void) { string drive="Disk Drive: "; drive += device; ostringstream size; + size << "Size: " << diskSize << ", " << BytesToIeee(diskSize, blockSize); - + clear(); move(0, (COLS - title.length()) / 2); printw(title.c_str()); @@ -811,7 +812,7 @@ void ShowTypes(void) { def_prog_mode(); endwin(); - tempType.ShowAllTypes(); + tempType.ShowAllTypes(LINES - 3); cout << "\nPress the <Enter> key to continue: "; cin.get(junk); reset_prog_mode(); |