summaryrefslogtreecommitdiffstats
path: root/src/diskcapa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/diskcapa.c')
-rw-r--r--src/diskcapa.c38
1 files changed, 1 insertions, 37 deletions
diff --git a/src/diskcapa.c b/src/diskcapa.c
index 7d02048..4b4d2c4 100644
--- a/src/diskcapa.c
+++ b/src/diskcapa.c
@@ -23,26 +23,6 @@
#include <config.h>
#endif
-#include <stdarg.h>
-#ifdef HAVE_STDLIB_H
-#include <stdlib.h>
-#endif
-#ifdef HAVE_UNISTD_H
-#include <unistd.h>
-#endif
-#ifdef HAVE_STRING_H
-#include <string.h>
-#endif
-#include <ctype.h>
-#ifdef HAVE_TIME_H
-#include <time.h>
-#endif
-#ifdef HAVE_SYS_TIME_H
-#include <sys/time.h>
-#endif
-#ifdef HAVE_SYS_STAT_H
-#include <sys/stat.h>
-#endif
#include "types.h"
#include "common.h"
#include "lang.h"
@@ -52,23 +32,7 @@
#else
#include <stdio.h>
#endif
-#include "intrface.h"
-#include "godmode.h"
-#include "fnctdsk.h"
-#include "testdisk.h"
-#include "adv.h"
-#include "analyse.h"
-#include "chgtype.h"
-#include "edit.h"
-#include "savehdr.h"
-#include "dirpart.h"
-#include "fat.h"
-#include "partauto.h"
#include "log.h"
-#include "guid_cmp.h"
-#include "hdaccess.h"
-#include "io_redir.h"
-
#include "diskcapa.h"
#ifdef HAVE_NCURSES
@@ -95,7 +59,7 @@ static int interface_check_disk_capacity_ncurses(disk_t *disk_car)
#if defined(__CYGWIN__) || defined(__MINGW32__)
wprintw(stdscr,"Update Windows to support LBA48 (minimum: W2K SP4 or XP SP1)");
#endif
- car= wmenuSelect_ext(stdscr, 24, INTER_MAIN_Y, INTER_MAIN_X, menuMain, 10,
+ car= wmenuSelect_ext(stdscr, 23, INTER_MAIN_Y, INTER_MAIN_X, menuMain, 10,
"CQ", MENU_VERT | MENU_VERT_WARN | MENU_BUTTON, &menu,NULL);
if(car=='c' || car=='C')
return 0;