summaryrefslogtreecommitdiff
path: root/gptcurses.h
diff options
context:
space:
mode:
authorsrs5694 <srs5694@users.sourceforge.net>2011-09-18 21:12:28 -0400
committersrs5694 <srs5694@users.sourceforge.net>2011-09-18 21:12:28 -0400
commitd1b11e8305621d73ff675af940e7f1f28b639b0d (patch)
treed7c328769b3015c7737bd07928960d6b92fd4cff /gptcurses.h
parentf502e52912a28bc57d4a88c6f8f2f5efc6da602c (diff)
downloadsgdisk-d1b11e8305621d73ff675af940e7f1f28b639b0d.tar.gz
Fixed bug in reading GPTs with encoded header sizes other than 92 bytes.
Diffstat (limited to 'gptcurses.h')
-rw-r--r--gptcurses.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/gptcurses.h b/gptcurses.h
index 14f43ad..4a9987e 100644
--- a/gptcurses.h
+++ b/gptcurses.h
@@ -2,21 +2,21 @@
* Implementation of GPTData class derivative with curses-based text-mode
* interaction
* Copyright (C) 2011 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
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
- *
+ *
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- *
+ *
*/
#include <iostream>
@@ -81,6 +81,7 @@ protected:
string whichOptions;
char currentKey;
int numSpaces;
+
// Functions relating to Spaces data structures
void EmptySpaces(void);
int MakeSpacesFromParts(void);
@@ -90,6 +91,7 @@ protected:
void LinkToEnd(Space *theSpace);
void SortSpaces(void);
void IdentifySpaces(void);
+
// Data display functions
Space* ShowSpace(int spaceNum, int lineNum);
int DisplayParts(int selected);