diff options
author | srs5694 <srs5694@users.sourceforge.net> | 2013-01-09 12:55:40 -0500 |
---|---|---|
committer | srs5694 <srs5694@users.sourceforge.net> | 2013-01-09 12:55:40 -0500 |
commit | 0741fa21ac6cb477891ef15f269c8c8f36cac7c6 (patch) | |
tree | b37926ea88396302141f9feeb1806c6bf3ac2455 /gptcurses.cc | |
parent | d8eed4629449a325999808a0170dbda53bd4a6df (diff) | |
download | sgdisk-0741fa21ac6cb477891ef15f269c8c8f36cac7c6.tar.gz |
0.8.6 release.
Diffstat (limited to 'gptcurses.cc')
-rw-r--r-- | gptcurses.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gptcurses.cc b/gptcurses.cc index 7fd6e55..8462149 100644 --- a/gptcurses.cc +++ b/gptcurses.cc @@ -219,7 +219,9 @@ void GPTDataCurses::IdentifySpaces(void) { Space* GPTDataCurses::ShowSpace(int spaceNum, int lineNum) { Space *space; int i = 0; +#ifdef USE_UTF16 char temp[40]; +#endif space = firstSpace; while ((space != NULL) && (i < spaceNum)) { @@ -308,7 +310,9 @@ void GPTDataCurses::DeletePartition(int partNum) { // Displays information on the specified partition void GPTDataCurses::ShowInfo(int partNum) { uint64_t size; +#ifdef USE_UTF16 char temp[NAME_SIZE / 2 + 1]; +#endif clear(); move(2, (COLS - 29) / 2); |